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.001293/0.001293, 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.001558/0.001558, 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.435/1.435, allocations: 230.6 MB / 256.8 MB, free: 8.012 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.002689/0.002689, allocations: 290.4 kB / 313.5 MB, free: 2.922 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.24/1.24, allocations: 180.6 MB / 0.5377 GB, free: 13.2 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.002881/0.002881, allocations: 91.86 kB / 0.7404 GB, free: 28.01 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1604/0.1633, allocations: 95.39 MB / 0.8335 GB, free: 8.723 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.007052/0.1703, allocations: 4.996 MB / 0.8384 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004306/0.1746, allocations: 2.572 MB / 0.8409 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003313/0.175, allocations: 35.62 kB / 0.8409 GB, free: 1.086 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001207/0.1762, allocations: 420.1 kB / 0.8413 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0009892/0.1772, allocations: 469.6 kB / 0.8418 GB, free: 220 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000863/0.178, allocations: 381.1 kB / 0.8421 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001083/0.1791, allocations: 0.9178 MB / 0.843 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004899/0.1796, allocations: 314.7 kB / 0.8433 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005272/0.1801, allocations: 370.6 kB / 0.8437 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000532/0.1807, allocations: 362.5 kB / 0.844 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.505e-05/0.1807, allocations: 36 kB / 0.8441 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007045/0.1814, allocations: 415.1 kB / 0.8445 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001999/0.1816, allocations: 187.3 kB / 0.8446 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003039/0.1819, allocations: 310.2 kB / 0.8449 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001096/0.183, allocations: 0.887 MB / 0.8458 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.183, allocations: 7.984 kB / 0.8458 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.292e-06/0.183, allocations: 0 / 0.8458 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.067e-05/0.1831, allocations: 0 / 0.8458 GB, free: 12.06 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.001457/0.1845, allocations: 0.8788 MB / 0.8467 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.1846, allocations: 17.92 kB / 0.8467 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.949e-05/0.1846, allocations: 13.19 kB / 0.8467 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001034/0.1847, allocations: 94.69 kB / 0.8468 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001266/0.186, allocations: 204.2 kB / 0.847 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008695/0.1868, allocations: 480.8 kB / 0.8474 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.579e-05/0.1869, allocations: 37.36 kB / 0.8475 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.951e-05/0.1869, allocations: 44.36 kB / 0.8475 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001161/0.1881, allocations: 0.8481 MB / 0.8484 GB, free: 9.266 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.897e-05/0.1881, allocations: 15.86 kB / 0.8484 GB, free: 9.25 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.314e-05/0.1882, allocations: 24 kB / 0.8484 GB, free: 9.227 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.782e-05/0.1883, allocations: 64.95 kB / 0.8485 GB, free: 9.164 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008823/0.1892, allocations: 0.5616 MB / 0.849 GB, free: 8.602 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004993/0.1942, allocations: 5.582 MB / 0.8545 GB, free: 2.641 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006598/0.1948, allocations: 426.3 kB / 0.8549 GB, free: 2.215 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003085/0.1951, allocations: 200.7 kB / 0.8551 GB, free: 2.016 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.641e-05/0.1952, allocations: 4 kB / 0.8551 GB, free: 2.012 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.246e-05/0.1952, allocations: 35.09 kB / 0.8551 GB, free: 1.969 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=32): time 2.214e-06/0.1952, allocations: 4 kB / 0.8551 GB, free: 1.965 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.002505/0.1977, allocations: 1.138 MB / 0.8562 GB, free: 0.8047 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.574e-05/0.1977, allocations: 55.69 kB / 0.8563 GB, free: 0.7383 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005403/0.1983, allocations: 0.495 MB / 0.8567 GB, free: 236 kB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.067e-05/0.1983, allocations: 29.7 kB / 0.8568 GB, free: 200 kB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002763/0.1986, allocations: 363.8 kB / 0.8571 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001022/0.1987, allocations: 123 kB / 0.8572 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001608/0.1988, allocations: 110.2 kB / 0.8573 GB, free: 15.6 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001767/0.199, allocations: 374.7 kB / 0.8577 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003057/0.1993, allocations: 193.2 kB / 0.8579 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004923/0.1998, allocations: 455.3 kB / 0.8583 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008719/0.2007, allocations: 0.6796 MB / 0.859 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/0.2007, allocations: 4 kB / 0.859 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001396/0.2021, allocations: 0.8093 MB / 0.8598 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.2021, allocations: 8 kB / 0.8598 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.804e-05/0.2021, allocations: 12.84 kB / 0.8598 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005203/0.2027, allocations: 160.1 kB / 0.8599 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00047/0.2031, allocations: 119.8 kB / 0.8601 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003571/0.2067, allocations: 4.037 MB / 0.864 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004275/0.2071, allocations: 36.12 kB / 0.864 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.266e-05/0.2072, allocations: 28 kB / 0.8641 GB, free: 8.09 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.0002875/0.2075, allocations: 222.1 kB / 0.8643 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.529e-05/0.2076, allocations: 67.61 kB / 0.8643 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00106/0.2086, allocations: 0.5968 MB / 0.8649 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.2086, allocations: 4 kB / 0.8649 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.2086, allocations: 0 / 0.8649 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.2086, allocations: 0 / 0.8649 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00186/0.2105, allocations: 1.237 MB / 0.8661 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.633e-06/0.2105, allocations: 7.984 kB / 0.8661 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002629/0.2108, allocations: 51.95 kB / 0.8662 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004201/0.2112, allocations: 148.3 kB / 0.8663 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.661e-05/0.2112, allocations: 8 kB / 0.8663 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003449/0.2147, allocations: 4.023 MB / 0.8703 GB, free: 1.258 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.2147, allocations: 0 / 0.8703 GB, free: 1.258 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001056/0.2157, allocations: 0.7086 MB / 0.871 GB, free: 0.4961 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002151/0.2159, allocations: 99.53 kB / 0.8711 GB, free: 408 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.212e-05/0.216, allocations: 12 kB / 0.8711 GB, free: 396 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002566/0.2163, allocations: 19.97 kB / 0.8711 GB, free: 376 kB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.328e-05/0.2163, allocations: 35.88 kB / 0.8711 GB, free: 340 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.261e-05/0.2163, allocations: 8 kB / 0.8711 GB, free: 332 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003851/0.2167, allocations: 342.9 kB / 0.8715 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2167, allocations: 0 / 0.8715 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007455/0.2175, allocations: 144 kB / 0.8716 GB, free: 15.85 MB / 0.6231 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.001402/0.2189, allocations: 1.254 MB / 0.8728 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0014/0.2203, allocations: 0.8702 MB / 0.8737 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.2203, allocations: 0 / 0.8737 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0007945/0.2211, allocations: 0.5684 MB / 0.8742 GB, free: 13 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009941/0.2221, allocations: 199.5 kB / 0.8744 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006825/0.2289, allocations: 5.124 MB / 0.8794 GB, free: 7.305 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000546/0.2294, allocations: 0.898 MB / 0.8803 GB, free: 6.375 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003571/0.2298, allocations: 125.3 kB / 0.8804 GB, free: 6.25 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002567/0.2301, allocations: 191.4 kB / 0.8806 GB, free: 6.066 MB / 0.6231 GB Notification: Performance of SimCode: time 9.12e-07/0.2301, allocations: 0 / 0.8806 GB, free: 6.066 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04767/0.2777, allocations: 13.27 MB / 0.8936 GB, free: 9.082 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.27/12.55, allocations: 9.297 kB / 0.8936 GB, free: 9.074 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: 16.7933378109592] Failed to read output from testmodel.py, exit status != 0: 12.725421726994682 12.743924954 12.557740561 Calling exit ...