Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.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.001346/0.001346, allocations: 116.9 kB / 17.17 MB, free: 5.906 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.001514/0.001514, allocations: 209.2 kB / 20.13 MB, free: 2.969 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.476/1.476, allocations: 230.6 MB / 253.5 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002493/0.002493, allocations: 281.8 kB / 309.8 MB, free: 3.492 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.093/1.093, allocations: 180.6 MB / 0.5338 GB, free: 12.34 MB / 398.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.003112/0.003112, allocations: 111.8 kB / 0.7347 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.499/0.5021, allocations: 95.33 MB / 0.8278 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.004338/0.5064, allocations: 3.803 MB / 0.8315 GB, free: 408 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003483/0.5099, allocations: 1.855 MB / 0.8333 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003306/0.5102, allocations: 22.47 kB / 0.8333 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001009/0.5112, allocations: 274.2 kB / 0.8336 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0008069/0.512, allocations: 305.8 kB / 0.8339 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006545/0.5127, allocations: 245.7 kB / 0.8341 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0007043/0.5134, allocations: 0.6043 MB / 0.8347 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003994/0.5138, allocations: 210.4 kB / 0.8349 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004794/0.5143, allocations: 252.2 kB / 0.8351 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003887/0.5147, allocations: 252.2 kB / 0.8354 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.815e-05/0.5147, allocations: 29.06 kB / 0.8354 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006022/0.5153, allocations: 277.8 kB / 0.8357 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001931/0.5155, allocations: 128.7 kB / 0.8358 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000242/0.5157, allocations: 209.8 kB / 0.836 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0008579/0.5166, allocations: 0.5918 MB / 0.8366 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 1.051e-05/0.5166, allocations: 4 kB / 0.8366 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5166, allocations: 0 / 0.8366 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.033e-05/0.5166, allocations: 0 / 0.8366 GB, free: 13.57 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001342/0.518, allocations: 0.742 MB / 0.8373 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.518, allocations: 10.42 kB / 0.8373 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.574e-05/0.518, allocations: 6.406 kB / 0.8373 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.652e-05/0.5181, allocations: 75.17 kB / 0.8374 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009344/0.5191, allocations: 147.3 kB / 0.8375 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006538/0.5197, allocations: 409.9 kB / 0.8379 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.444e-05/0.5197, allocations: 25.61 kB / 0.838 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.663e-05/0.5198, allocations: 25.72 kB / 0.838 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008624/0.5207, allocations: 0.55 MB / 0.8385 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.243e-05/0.5207, allocations: 10.41 kB / 0.8385 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.869e-05/0.5207, allocations: 17.61 kB / 0.8385 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.178e-05/0.5208, allocations: 40.84 kB / 0.8386 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007642/0.5216, allocations: 413.1 kB / 0.839 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00346/0.525, allocations: 3.33 MB / 0.8422 GB, free: 9.078 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006978/0.5257, allocations: 317.3 kB / 0.8425 GB, free: 8.957 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000322/0.5261, allocations: 165 kB / 0.8427 GB, free: 8.898 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.545e-05/0.5261, allocations: 2.781 kB / 0.8427 GB, free: 8.898 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.5261, allocations: 37.88 kB / 0.8427 GB, free: 8.855 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=26): time 2.184e-06/0.5261, allocations: 0 / 0.8427 GB, free: 8.855 MB / 0.5919 GB Notification: Performance of matching and sorting (n=27): time 0.002244/0.5284, allocations: 1.059 MB / 0.8438 GB, free: 8.238 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.589e-05/0.5284, allocations: 58.05 kB / 0.8438 GB, free: 8.172 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004317/0.5288, allocations: 343.9 kB / 0.8441 GB, free: 7.992 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.121e-05/0.5289, allocations: 27.02 kB / 0.8442 GB, free: 7.961 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002048/0.5291, allocations: 257.4 kB / 0.8444 GB, free: 7.742 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 9.671e-05/0.5292, allocations: 103.9 kB / 0.8445 GB, free: 7.66 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001335/0.5293, allocations: 75 kB / 0.8446 GB, free: 7.617 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001672/0.5295, allocations: 346.8 kB / 0.8449 GB, free: 7.289 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000294/0.5298, allocations: 150.4 kB / 0.8451 GB, free: 7.242 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004065/0.5302, allocations: 293.8 kB / 0.8453 GB, free: 7.012 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007268/0.5309, allocations: 477.7 kB / 0.8458 GB, free: 6.695 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.5309, allocations: 1.406 kB / 0.8458 GB, free: 6.695 MB / 0.5919 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001141/0.532, allocations: 0.5664 MB / 0.8463 GB, free: 6.445 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.5321, allocations: 7.625 kB / 0.8464 GB, free: 6.445 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.5321, allocations: 4.781 kB / 0.8464 GB, free: 6.445 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003564/0.5324, allocations: 84.19 kB / 0.8464 GB, free: 6.41 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004277/0.5329, allocations: 95.36 kB / 0.8465 GB, free: 6.395 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.987e-05/0.5329, allocations: 11.84 kB / 0.8465 GB, free: 6.391 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003014/0.5332, allocations: 25.38 kB / 0.8466 GB, free: 6.387 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.355e-05/0.5332, allocations: 19.02 kB / 0.8466 GB, free: 6.383 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002328/0.5335, allocations: 178.4 kB / 0.8468 GB, free: 6.23 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.421e-05/0.5335, allocations: 43.86 kB / 0.8468 GB, free: 6.207 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001078/0.5346, allocations: 466.9 kB / 0.8472 GB, free: 6 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.5346, allocations: 3.844 kB / 0.8472 GB, free: 6 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.5346, allocations: 5.156 kB / 0.8473 GB, free: 5.996 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.5346, allocations: 1.359 kB / 0.8473 GB, free: 5.996 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001594/0.5362, allocations: 0.9639 MB / 0.8482 GB, free: 5.426 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.5362, allocations: 0.9375 kB / 0.8482 GB, free: 5.426 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002809/0.5365, allocations: 55.25 kB / 0.8482 GB, free: 5.418 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002662/0.5368, allocations: 79.08 kB / 0.8483 GB, free: 5.383 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.291e-05/0.5368, allocations: 10.83 kB / 0.8483 GB, free: 5.375 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.337e-06/0.5368, allocations: 1.281 kB / 0.8483 GB, free: 5.375 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.5368, allocations: 5.312 kB / 0.8483 GB, free: 5.371 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009118/0.5377, allocations: 0.5395 MB / 0.8489 GB, free: 5.059 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001785/0.5379, allocations: 144.2 kB / 0.849 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.981e-05/0.538, allocations: 7 kB / 0.849 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002357/0.5382, allocations: 25.44 kB / 0.849 GB, free: 4.918 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.013e-05/0.5383, allocations: 18.05 kB / 0.8491 GB, free: 4.918 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.041e-05/0.5383, allocations: 9.812 kB / 0.8491 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002605/0.5385, allocations: 235.7 kB / 0.8493 GB, free: 4.789 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.5385, allocations: 4 kB / 0.8493 GB, free: 4.785 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004538/0.539, allocations: 88.81 kB / 0.8494 GB, free: 4.773 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001229/0.5402, allocations: 1.091 MB / 0.8504 GB, free: 3.918 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009848/0.5412, allocations: 0.6118 MB / 0.851 GB, free: 3.5 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.5412, allocations: 0 / 0.851 GB, free: 3.5 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005039/0.5417, allocations: 431.4 kB / 0.8514 GB, free: 3.137 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000725/0.5424, allocations: 130.3 kB / 0.8516 GB, free: 3.094 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005243/0.5477, allocations: 3.736 MB / 0.8552 GB, free: 0.6445 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004871/0.5482, allocations: 0.8263 MB / 0.856 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003016/0.5485, allocations: 85.27 kB / 0.8561 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000196/0.5487, allocations: 128.3 kB / 0.8562 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of SimCode: time 1.072e-06/0.5487, allocations: 0 / 0.8562 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03041/0.5791, allocations: 8.429 MB / 0.8645 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.64/11.22, allocations: 11.95 kB / 0.8645 GB, free: 12.56 MB / 0.6075 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.fmu > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.216026941954624] Failed to read output from testmodel.py, exit status != 0: 11.364714085008018 11.378705606 10.858944806 Calling exit ...