Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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.001321/0.001321, allocations: 116.1 kB / 17.16 MB, free: 6.023 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.001392/0.001392, allocations: 205.5 kB / 20.13 MB, free: 3.078 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.582/1.582, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.002532/0.002532, allocations: 290.9 kB / 309.8 MB, free: 3.469 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.128/1.128, allocations: 180.6 MB / 0.5338 GB, free: 12.32 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.TestImpedance,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",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.003108/0.003108, allocations: 102.7 kB / 0.7347 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5196/0.5227, allocations: 95.34 MB / 0.8278 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.005544/0.5283, allocations: 4.925 MB / 0.8326 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.004558/0.5328, allocations: 2.512 MB / 0.835 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005547/0.5334, allocations: 35.5 kB / 0.8351 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001306/0.5347, allocations: 402.6 kB / 0.8355 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001347/0.536, allocations: 473.8 kB / 0.8359 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00112/0.5372, allocations: 372.2 kB / 0.8363 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001346/0.5385, allocations: 0.9109 MB / 0.8372 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005817/0.5391, allocations: 289.1 kB / 0.8374 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006628/0.5397, allocations: 360 kB / 0.8378 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005565/0.5403, allocations: 363.6 kB / 0.8381 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.749e-05/0.5404, allocations: 39.06 kB / 0.8382 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009277/0.5413, allocations: 407.6 kB / 0.8385 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002517/0.5415, allocations: 196.4 kB / 0.8387 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003561/0.5419, allocations: 314.9 kB / 0.839 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001423/0.5433, allocations: 0.8911 MB / 0.8399 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.5433, allocations: 0 / 0.8399 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.793e-06/0.5433, allocations: 0 / 0.8399 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.272e-05/0.5433, allocations: 0 / 0.8399 GB, free: 11.61 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001718/0.5451, allocations: 0.9576 MB / 0.8408 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.5451, allocations: 7.594 kB / 0.8408 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.461e-05/0.5451, allocations: 13.44 kB / 0.8409 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001146/0.5452, allocations: 93.2 kB / 0.8409 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001385/0.5466, allocations: 213.3 kB / 0.8411 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009872/0.5476, allocations: 0.5308 MB / 0.8417 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.742e-05/0.5477, allocations: 36.02 kB / 0.8417 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.561e-05/0.5478, allocations: 53.08 kB / 0.8418 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001302/0.5491, allocations: 0.8521 MB / 0.8426 GB, free: 9.785 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.788e-05/0.5491, allocations: 11.5 kB / 0.8426 GB, free: 9.777 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.55e-05/0.5491, allocations: 20.95 kB / 0.8426 GB, free: 9.766 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001068/0.5492, allocations: 62.27 kB / 0.8427 GB, free: 9.758 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009589/0.5502, allocations: 0.5711 MB / 0.8432 GB, free: 9.547 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005479/0.5557, allocations: 5.65 MB / 0.8487 GB, free: 4.426 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008657/0.5565, allocations: 431.2 kB / 0.8492 GB, free: 4.262 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003501/0.5569, allocations: 202.1 kB / 0.8494 GB, free: 4.191 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.023e-05/0.5569, allocations: 2.562 kB / 0.8494 GB, free: 4.191 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.245e-05/0.557, allocations: 38.08 kB / 0.8494 GB, free: 4.148 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=32): time 2.023e-06/0.557, allocations: 0 / 0.8494 GB, free: 4.148 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.002907/0.5599, allocations: 1.511 MB / 0.8509 GB, free: 3.203 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.744e-05/0.5599, allocations: 59.81 kB / 0.8509 GB, free: 3.137 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006252/0.5605, allocations: 496.9 kB / 0.8514 GB, free: 2.906 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.184e-05/0.5606, allocations: 35.5 kB / 0.8514 GB, free: 2.867 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002891/0.5609, allocations: 361 kB / 0.8518 GB, free: 2.574 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001147/0.561, allocations: 134.8 kB / 0.8519 GB, free: 2.469 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001747/0.5612, allocations: 111.9 kB / 0.852 GB, free: 2.406 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001885/0.5613, allocations: 365.7 kB / 0.8524 GB, free: 2.07 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003096/0.5617, allocations: 192.2 kB / 0.8525 GB, free: 2.008 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005118/0.5622, allocations: 447.2 kB / 0.853 GB, free: 1.617 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009093/0.5631, allocations: 0.6921 MB / 0.8536 GB, free: 1.086 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.5631, allocations: 2.641 kB / 0.8536 GB, free: 1.086 MB / 0.5919 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001436/0.5645, allocations: 0.8108 MB / 0.8544 GB, free: 0.7227 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/0.5645, allocations: 11 kB / 0.8545 GB, free: 0.7227 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.637e-05/0.5646, allocations: 12.88 kB / 0.8545 GB, free: 0.7188 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005644/0.5651, allocations: 156.8 kB / 0.8546 GB, free: 0.6484 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004658/0.5656, allocations: 117.7 kB / 0.8547 GB, free: 0.6406 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003924/0.5695, allocations: 4.339 MB / 0.859 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005356/0.5701, allocations: 35.98 kB / 0.859 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.9e-05/0.5701, allocations: 28.8 kB / 0.859 GB, free: 12.36 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003366/0.5704, allocations: 218.3 kB / 0.8592 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/0.5705, allocations: 66.34 kB / 0.8593 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001158/0.5717, allocations: 0.5982 MB / 0.8599 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.239e-06/0.5717, allocations: 3.562 kB / 0.8599 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.5717, allocations: 5.094 kB / 0.8599 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.73e-06/0.5717, allocations: 2.609 kB / 0.8599 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002112/0.5738, allocations: 1.256 MB / 0.8611 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.5738, allocations: 3.75 kB / 0.8611 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002747/0.5741, allocations: 49.47 kB / 0.8612 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004687/0.5746, allocations: 151.5 kB / 0.8613 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.786e-05/0.5746, allocations: 7.375 kB / 0.8613 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003888/0.5785, allocations: 4.334 MB / 0.8656 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.471e-06/0.5785, allocations: 10.14 kB / 0.8656 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001236/0.5797, allocations: 0.7178 MB / 0.8663 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003239/0.5801, allocations: 173.7 kB / 0.8664 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.329e-05/0.5801, allocations: 9.375 kB / 0.8664 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002876/0.5804, allocations: 21.7 kB / 0.8665 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/0.5805, allocations: 35.84 kB / 0.8665 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.12e-05/0.5805, allocations: 8.422 kB / 0.8665 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000457/0.581, allocations: 333.5 kB / 0.8668 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8e-08/0.581, allocations: 0 / 0.8668 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007269/0.5817, allocations: 146.5 kB / 0.867 GB, free: 6.027 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001427/0.5831, allocations: 1.26 MB / 0.8682 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00158/0.5847, allocations: 1.006 MB / 0.8692 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.5847, allocations: 1.75 kB / 0.8692 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008918/0.5856, allocations: 0.7163 MB / 0.8699 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001063/0.5867, allocations: 205.8 kB / 0.8701 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007082/0.5938, allocations: 5.115 MB / 0.8751 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006011/0.5944, allocations: 0.9077 MB / 0.876 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0004327/0.5948, allocations: 122 kB / 0.8761 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002697/0.5951, allocations: 191.1 kB / 0.8762 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of SimCode: time 9.71e-07/0.5951, allocations: 0 / 0.8762 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04618/0.6413, allocations: 12.86 MB / 0.8888 GB, free: 8.637 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.77, allocations: 19.38 kB / 0.8888 GB, free: 8.629 MB / 0.6231 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_TestImpedance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.fmu > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.977298354031518] Failed to read output from testmodel.py, exit status != 0: 11.937278226949275 11.951624902 11.405391052 Calling exit ...