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.001858/0.001858, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.002226/0.002226, allocations: 215.1 kB / 23.03 MB, free: 4.922 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.505/1.505, allocations: 230.6 MB / 256.8 MB, free: 7.773 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.002729/0.002729, allocations: 285.5 kB / 313.5 MB, free: 2.605 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.276/1.276, allocations: 180.6 MB / 0.5377 GB, free: 14.6 MB / 382.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.00287/0.00287, allocations: 99.16 kB / 0.7403 GB, free: 28.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1653/0.1682, allocations: 95.38 MB / 0.8334 GB, free: 8.34 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.007113/0.1753, allocations: 4.61 MB / 0.8379 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00428/0.1796, allocations: 2.409 MB / 0.8403 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004249/0.18, allocations: 35.62 kB / 0.8403 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001217/0.1812, allocations: 394 kB / 0.8407 GB, free: 0.8672 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001039/0.1823, allocations: 465.7 kB / 0.8411 GB, free: 420 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008634/0.1831, allocations: 378.2 kB / 0.8415 GB, free: 44 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001097/0.1842, allocations: 0.9216 MB / 0.8424 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005164/0.1848, allocations: 330.6 kB / 0.8427 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005112/0.1853, allocations: 354.7 kB / 0.843 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005237/0.1858, allocations: 370.3 kB / 0.8434 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.743e-05/0.1859, allocations: 36 kB / 0.8434 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006406/0.1865, allocations: 363.2 kB / 0.8438 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002112/0.1867, allocations: 183.4 kB / 0.8439 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002884/0.187, allocations: 262.6 kB / 0.8442 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001072/0.1881, allocations: 0.8832 MB / 0.845 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.1881, allocations: 8 kB / 0.8451 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.312e-06/0.1881, allocations: 3.938 kB / 0.8451 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.053e-05/0.1881, allocations: 0 / 0.8451 GB, free: 12.35 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.001479/0.1896, allocations: 0.878 MB / 0.8459 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.1896, allocations: 13.34 kB / 0.8459 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.718e-05/0.1896, allocations: 13.19 kB / 0.8459 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000107/0.1898, allocations: 94.69 kB / 0.846 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001333/0.1911, allocations: 208.2 kB / 0.8462 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008572/0.1919, allocations: 480.7 kB / 0.8467 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.211e-05/0.192, allocations: 33.36 kB / 0.8467 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.496e-05/0.1921, allocations: 48.31 kB / 0.8468 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001275/0.1933, allocations: 0.9736 MB / 0.8477 GB, free: 9.398 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.482e-05/0.1934, allocations: 11.94 kB / 0.8477 GB, free: 9.387 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.566e-05/0.1934, allocations: 23.98 kB / 0.8478 GB, free: 9.363 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001035/0.1935, allocations: 68.95 kB / 0.8478 GB, free: 9.297 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009199/0.1944, allocations: 0.5694 MB / 0.8484 GB, free: 8.727 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00452/0.199, allocations: 4.724 MB / 0.853 GB, free: 3.809 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006552/0.1996, allocations: 422.3 kB / 0.8534 GB, free: 3.387 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003187/0.1999, allocations: 200.7 kB / 0.8536 GB, free: 3.188 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.294e-05/0.2, allocations: 8.469 kB / 0.8536 GB, free: 3.18 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/0.2, allocations: 30.56 kB / 0.8536 GB, free: 3.141 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=32): time 2.034e-06/0.2, allocations: 0 / 0.8536 GB, free: 3.141 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.002571/0.2026, allocations: 1.138 MB / 0.8547 GB, free: 1.98 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.482e-05/0.2026, allocations: 55.69 kB / 0.8548 GB, free: 1.914 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005414/0.2032, allocations: 0.495 MB / 0.8553 GB, free: 1.406 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.489e-05/0.2032, allocations: 33.7 kB / 0.8553 GB, free: 1.367 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002674/0.2035, allocations: 367.8 kB / 0.8556 GB, free: 1.004 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001125/0.2036, allocations: 123 kB / 0.8558 GB, free: 0.8828 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001621/0.2037, allocations: 114.2 kB / 0.8559 GB, free: 0.7656 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001772/0.2039, allocations: 358.8 kB / 0.8562 GB, free: 416 kB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002951/0.2042, allocations: 197.2 kB / 0.8564 GB, free: 216 kB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005045/0.2047, allocations: 447.3 kB / 0.8568 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008692/0.2056, allocations: 0.6913 MB / 0.8575 GB, free: 14.85 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.443e-06/0.2056, allocations: 4 kB / 0.8575 GB, free: 14.85 MB / 0.6075 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001359/0.2069, allocations: 0.8136 MB / 0.8583 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.207, allocations: 8 kB / 0.8583 GB, free: 14 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.765e-05/0.207, allocations: 11.94 kB / 0.8583 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005316/0.2075, allocations: 148.6 kB / 0.8585 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004555/0.208, allocations: 131.7 kB / 0.8586 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003797/0.2118, allocations: 4.019 MB / 0.8625 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003837/0.2121, allocations: 39.97 kB / 0.8626 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.165e-05/0.2122, allocations: 24 kB / 0.8626 GB, free: 9.277 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.0002959/0.2125, allocations: 222.3 kB / 0.8628 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.504e-05/0.2126, allocations: 63.62 kB / 0.8629 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001084/0.2137, allocations: 0.5968 MB / 0.8634 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.2137, allocations: 4 kB / 0.8634 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.2137, allocations: 4 kB / 0.8634 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.2137, allocations: 0 / 0.8634 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001865/0.2155, allocations: 1.187 MB / 0.8646 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.2155, allocations: 0 / 0.8646 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000254/0.2158, allocations: 55.89 kB / 0.8647 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004306/0.2162, allocations: 152 kB / 0.8648 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.472e-05/0.2163, allocations: 11.94 kB / 0.8648 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003442/0.2197, allocations: 4.011 MB / 0.8687 GB, free: 2.504 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/0.2197, allocations: 3.938 kB / 0.8687 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001087/0.2208, allocations: 0.7046 MB / 0.8694 GB, free: 1.742 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002193/0.221, allocations: 95.53 kB / 0.8695 GB, free: 1.648 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.664e-05/0.2211, allocations: 8 kB / 0.8695 GB, free: 1.641 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000254/0.2213, allocations: 23.97 kB / 0.8695 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.064e-05/0.2214, allocations: 35.83 kB / 0.8696 GB, free: 1.582 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.315e-05/0.2214, allocations: 12 kB / 0.8696 GB, free: 1.57 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000418/0.2219, allocations: 334.9 kB / 0.8699 GB, free: 1.246 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2219, allocations: 0 / 0.8699 GB, free: 1.246 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0006615/0.2225, allocations: 140 kB / 0.87 GB, free: 1.109 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.0014/0.2239, allocations: 1.257 MB / 0.8713 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001437/0.2254, allocations: 0.8741 MB / 0.8721 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.2254, allocations: 0 / 0.8721 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000802/0.2262, allocations: 0.564 MB / 0.8727 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009325/0.2271, allocations: 207.5 kB / 0.8729 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006636/0.2337, allocations: 5.123 MB / 0.8779 GB, free: 8.566 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000341/0.2341, allocations: 307.5 kB / 0.8782 GB, free: 8.234 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000317/0.2344, allocations: 117.3 kB / 0.8783 GB, free: 8.117 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002698/0.2347, allocations: 195.4 kB / 0.8785 GB, free: 7.93 MB / 0.6231 GB Notification: Performance of SimCode: time 6.32e-07/0.2347, allocations: 0 / 0.8785 GB, free: 7.93 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0474/0.2821, allocations: 13.98 MB / 0.8921 GB, free: 10.35 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.6/12.88, allocations: 9.359 kB / 0.8921 GB, free: 10.35 MB / 0.6387 GB " [Timeout remaining time 647] (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: 17.35300325998105] Failed to read output from testmodel.py, exit status != 0: 13.054596472997218 13.078373457 12.885850319 Calling exit ...