Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001706/0.001706, allocations: 110.1 kB / 19.73 MB, free: 2.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002181/0.002181, allocations: 221.6 kB / 23.05 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.489/1.489, allocations: 230.6 MB / 256.8 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.171/3.171, allocations: 0.5003 GB / 0.8061 GB, free: 26.75 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 66.86 kB / 1.171 GB, free: 19.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3119/0.3139, allocations: 179 MB / 1.345 GB, free: 476 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.004275/0.3181, allocations: 2.758 MB / 1.348 GB, free: 13.69 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002275/0.3204, allocations: 1.387 MB / 1.349 GB, free: 12.3 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.3205, allocations: 7.938 kB / 1.349 GB, free: 12.29 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0006871/0.3212, allocations: 191.2 kB / 1.35 GB, free: 12.1 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.000384/0.3216, allocations: 163.3 kB / 1.35 GB, free: 11.94 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000374/0.322, allocations: 163.7 kB / 1.35 GB, free: 11.78 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003631/0.3223, allocations: 279.1 kB / 1.35 GB, free: 11.51 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002612/0.3226, allocations: 117.8 kB / 1.35 GB, free: 11.39 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000226/0.3228, allocations: 115.6 kB / 1.35 GB, free: 11.28 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002634/0.3231, allocations: 143.5 kB / 1.35 GB, free: 11.14 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.07e-05/0.3231, allocations: 16 kB / 1.351 GB, free: 11.12 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002578/0.3234, allocations: 151.6 kB / 1.351 GB, free: 10.98 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 8.763e-05/0.3235, allocations: 75.8 kB / 1.351 GB, free: 10.9 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001048/0.3236, allocations: 91.52 kB / 1.351 GB, free: 10.81 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003834/0.3239, allocations: 298.9 kB / 1.351 GB, free: 10.52 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3239, allocations: 0 / 1.351 GB, free: 10.52 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.342e-06/0.3239, allocations: 0 / 1.351 GB, free: 10.52 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.632e-06/0.324, allocations: 0 / 1.351 GB, free: 10.52 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0008025/0.3248, allocations: 433.5 kB / 1.352 GB, free: 10.06 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.3248, allocations: 8.031 kB / 1.352 GB, free: 10.05 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.569e-05/0.3248, allocations: 8.469 kB / 1.352 GB, free: 10.05 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.656e-05/0.3249, allocations: 54.72 kB / 1.352 GB, free: 9.984 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000485/0.3253, allocations: 68.72 kB / 1.352 GB, free: 9.918 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002847/0.3256, allocations: 182.2 kB / 1.352 GB, free: 9.715 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.169e-05/0.3257, allocations: 12.64 kB / 1.352 GB, free: 9.703 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.409e-05/0.3257, allocations: 12.38 kB / 1.352 GB, free: 9.691 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005538/0.3262, allocations: 320.3 kB / 1.352 GB, free: 9.352 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.3263, allocations: 0 / 1.352 GB, free: 9.352 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.587e-05/0.3263, allocations: 8 kB / 1.352 GB, free: 9.344 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.425e-05/0.3263, allocations: 28.19 kB / 1.352 GB, free: 9.316 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005242/0.3268, allocations: 264.5 kB / 1.352 GB, free: 9.059 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001737/0.3286, allocations: 1.485 MB / 1.354 GB, free: 7.434 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005157/0.3291, allocations: 257 kB / 1.354 GB, free: 7.164 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002407/0.3293, allocations: 117.6 kB / 1.354 GB, free: 7.043 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.138e-05/0.3294, allocations: 4 kB / 1.354 GB, free: 7.039 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.3294, allocations: 34.56 kB / 1.354 GB, free: 6.996 MB / 1.045 GB Notification: Performance of pre-optimization done (n=15): time 1.312e-06/0.3294, allocations: 0 / 1.354 GB, free: 6.996 MB / 1.045 GB Notification: Performance of matching and sorting (n=15): time 0.0007933/0.3302, allocations: 347.8 kB / 1.355 GB, free: 6.652 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.371e-05/0.3302, allocations: 81.11 kB / 1.355 GB, free: 6.555 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001772/0.3304, allocations: 174.8 kB / 1.355 GB, free: 6.371 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.096e-05/0.3304, allocations: 29.7 kB / 1.355 GB, free: 6.336 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.3306, allocations: 144.2 kB / 1.355 GB, free: 6.188 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.173e-05/0.3306, allocations: 55.53 kB / 1.355 GB, free: 6.133 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.308e-05/0.3307, allocations: 49.59 kB / 1.355 GB, free: 6.078 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.3308, allocations: 334.8 kB / 1.355 GB, free: 5.742 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00024/0.3311, allocations: 116.8 kB / 1.356 GB, free: 5.625 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002801/0.3314, allocations: 171.5 kB / 1.356 GB, free: 5.43 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005149/0.3319, allocations: 289.2 kB / 1.356 GB, free: 5.125 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.3319, allocations: 0 / 1.356 GB, free: 5.125 MB / 1.045 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006335/0.3325, allocations: 325.2 kB / 1.356 GB, free: 4.801 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.3325, allocations: 8 kB / 1.356 GB, free: 4.793 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.3325, allocations: 0 / 1.356 GB, free: 4.793 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.3326, allocations: 4 kB / 1.356 GB, free: 4.789 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003081/0.3329, allocations: 60.11 kB / 1.356 GB, free: 4.73 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-06/0.3329, allocations: 0 / 1.356 GB, free: 4.73 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000208/0.3331, allocations: 39.8 kB / 1.356 GB, free: 4.691 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.178e-05/0.3331, allocations: 8 kB / 1.356 GB, free: 4.684 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002983/0.3334, allocations: 204 kB / 1.357 GB, free: 4.48 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002601/0.3337, allocations: 162.2 kB / 1.357 GB, free: 4.297 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004347/0.3341, allocations: 253.4 kB / 1.357 GB, free: 4.027 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.213e-06/0.3341, allocations: 0 / 1.357 GB, free: 4.027 MB / 1.045 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0005439/0.3346, allocations: 289.4 kB / 1.357 GB, free: 3.738 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.3347, allocations: 12.03 kB / 1.357 GB, free: 3.727 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.345e-06/0.3347, allocations: 0 / 1.357 GB, free: 3.727 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.833e-06/0.3347, allocations: 8 kB / 1.357 GB, free: 3.719 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002503/0.3349, allocations: 55.89 kB / 1.357 GB, free: 3.664 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.3349, allocations: 4 kB / 1.357 GB, free: 3.66 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001755/0.3351, allocations: 27.81 kB / 1.357 GB, free: 3.633 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.203e-05/0.3351, allocations: 15.98 kB / 1.357 GB, free: 3.617 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001308/0.3352, allocations: 188.1 kB / 1.358 GB, free: 3.426 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.993e-05/0.3353, allocations: 19.91 kB / 1.358 GB, free: 3.406 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005857/0.3359, allocations: 266.9 kB / 1.358 GB, free: 3.133 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/0.3359, allocations: 7.984 kB / 1.358 GB, free: 3.125 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.3359, allocations: 0 / 1.358 GB, free: 3.125 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.3359, allocations: 7.875 kB / 1.358 GB, free: 3.117 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001085/0.337, allocations: 0.6489 MB / 1.359 GB, free: 2.406 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.337, allocations: 4 kB / 1.359 GB, free: 2.402 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002355/0.3372, allocations: 51.89 kB / 1.359 GB, free: 2.352 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-06/0.3372, allocations: 3.938 kB / 1.359 GB, free: 2.348 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.68e-05/0.3373, allocations: 4 kB / 1.359 GB, free: 2.344 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.3373, allocations: 0 / 1.359 GB, free: 2.344 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.3373, allocations: 4 kB / 1.359 GB, free: 2.34 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005736/0.3378, allocations: 447.5 kB / 1.359 GB, free: 1.875 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 9.659e-05/0.3379, allocations: 47.77 kB / 1.359 GB, free: 1.828 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.079e-05/0.338, allocations: 0 / 1.359 GB, free: 1.828 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002112/0.3382, allocations: 23.97 kB / 1.359 GB, free: 1.805 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.099e-05/0.3382, allocations: 11.97 kB / 1.359 GB, free: 1.793 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.609e-05/0.3383, allocations: 8 kB / 1.359 GB, free: 1.785 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001142/0.3384, allocations: 127.2 kB / 1.359 GB, free: 1.66 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.3384, allocations: 7.938 kB / 1.359 GB, free: 1.652 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004839/0.3389, allocations: 79.89 kB / 1.359 GB, free: 1.574 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009053/0.3398, allocations: 0.992 MB / 1.36 GB, free: 0.543 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0007589/0.3405, allocations: 358.2 kB / 1.361 GB, free: 200 kB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3405, allocations: 4.125 kB / 1.361 GB, free: 196 kB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.000235/0.3408, allocations: 111.8 kB / 1.361 GB, free: 84 kB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004885/0.3412, allocations: 51.03 kB / 1.361 GB, free: 36 kB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003282/0.3445, allocations: 2.473 MB / 1.363 GB, free: 13.41 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003847/0.3449, allocations: 0.7478 MB / 1.364 GB, free: 12.64 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002048/0.3451, allocations: 81.39 kB / 1.364 GB, free: 12.56 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001229/0.3452, allocations: 47.41 kB / 1.364 GB, free: 12.51 MB / 1.061 GB Notification: Performance of SimCode: time 6.71e-07/0.3452, allocations: 0 / 1.364 GB, free: 12.51 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02676/0.372, allocations: 4.631 MB / 1.369 GB, free: 8.047 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.31, allocations: 12 kB / 1.369 GB, free: 8.035 MB / 1.061 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 17.932551707024686] Failed to read output from testmodel.py, exit status != 0: 11.471513339027297 11.493688654 11.165285335 Calling exit ...