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.0008144/0.0008144, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.000869/0.000869, allocations: 165.9 kB / 22.45 MB, free: 2.113 MB / 18.57 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 0.8833/0.8833, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.002238/0.002238, allocations: 230.4 kB / 259.4 MB, free: 13.02 MB / 250.7 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 0.666/0.666, allocations: 138.4 MB / 454.3 MB, free: 29.93 MB / 410.7 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.175e-06/2.175e-06, allocations: 0 / 0.6463 GB, free: 1.867 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.839e-05/2.057e-05, allocations: 6.219 kB / 0.6463 GB, free: 1.859 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.25/0.2501, allocations: 4.561 MB / 0.6507 GB, free: 54.58 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.002302/0.2524, allocations: 2.378 MB / 0.6531 GB, free: 53.65 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001717/0.2525, allocations: 35.72 kB / 0.6531 GB, free: 53.62 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0006488/0.2532, allocations: 405.8 kB / 0.6535 GB, free: 53.47 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0005025/0.2537, allocations: 490.1 kB / 0.654 GB, free: 53.22 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004025/0.2541, allocations: 371.9 kB / 0.6543 GB, free: 53.04 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0005869/0.2547, allocations: 0.9486 MB / 0.6552 GB, free: 52.58 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003517/0.255, allocations: 325.6 kB / 0.6555 GB, free: 52.44 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004167/0.2554, allocations: 486.2 kB / 0.656 GB, free: 52.25 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000285/0.2557, allocations: 309.3 kB / 0.6563 GB, free: 52.16 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 4.224e-05/0.2558, allocations: 37.47 kB / 0.6563 GB, free: 52.16 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003086/0.2561, allocations: 365.7 kB / 0.6567 GB, free: 52.04 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001347/0.2562, allocations: 198.6 kB / 0.6569 GB, free: 51.95 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001363/0.2563, allocations: 210.2 kB / 0.6571 GB, free: 51.86 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0006896/0.257, allocations: 0.8967 MB / 0.658 GB, free: 51.57 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.257, allocations: 1.688 kB / 0.658 GB, free: 51.57 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.713e-06/0.257, allocations: 0 / 0.658 GB, free: 51.57 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 8.666e-06/0.257, allocations: 3.438 kB / 0.658 GB, free: 51.57 MB / 0.5573 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.0008972/0.2579, allocations: 0.8718 MB / 0.6588 GB, free: 50.94 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.258, allocations: 15.28 kB / 0.6588 GB, free: 50.94 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.897e-05/0.2581, allocations: 94.58 kB / 0.6589 GB, free: 50.87 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006656/0.2587, allocations: 210.6 kB / 0.6591 GB, free: 50.82 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004975/0.2592, allocations: 479.6 kB / 0.6596 GB, free: 50.53 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.254e-05/0.2592, allocations: 35.92 kB / 0.6596 GB, free: 50.51 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.814e-05/0.2593, allocations: 42.22 kB / 0.6596 GB, free: 50.5 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006403/0.2599, allocations: 0.9693 MB / 0.6606 GB, free: 49.77 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.189e-05/0.26, allocations: 12.98 kB / 0.6606 GB, free: 49.77 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.971e-05/0.26, allocations: 29.61 kB / 0.6606 GB, free: 49.75 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.396e-05/0.26, allocations: 65.19 kB / 0.6607 GB, free: 49.74 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005364/0.2606, allocations: 0.5698 MB / 0.6613 GB, free: 49.54 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001922/0.2625, allocations: 4.697 MB / 0.6658 GB, free: 45.49 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003959/0.2629, allocations: 423 kB / 0.6662 GB, free: 45.35 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000187/0.2631, allocations: 202.1 kB / 0.6664 GB, free: 45.28 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.117e-05/0.2631, allocations: 11.41 kB / 0.6664 GB, free: 45.27 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.439e-05/0.2631, allocations: 32.78 kB / 0.6665 GB, free: 45.23 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=32): time 1.402e-06/0.2631, allocations: 1.406 kB / 0.6665 GB, free: 45.23 MB / 0.5573 GB Notification: Performance of matching and sorting (n=33): time 0.00139/0.2645, allocations: 1.141 MB / 0.6676 GB, free: 44.75 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.101e-05/0.2645, allocations: 59.53 kB / 0.6677 GB, free: 44.69 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003167/0.2649, allocations: 0.5033 MB / 0.6681 GB, free: 44.44 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.2649, allocations: 35.05 kB / 0.6682 GB, free: 44.4 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/0.265, allocations: 361.1 kB / 0.6685 GB, free: 44.11 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 4.948e-05/0.265, allocations: 132.1 kB / 0.6686 GB, free: 44 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.637e-05/0.2651, allocations: 105.2 kB / 0.6687 GB, free: 43.94 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 6.042e-05/0.2652, allocations: 366.4 kB / 0.6691 GB, free: 43.61 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001904/0.2654, allocations: 196.3 kB / 0.6693 GB, free: 43.54 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002386/0.2656, allocations: 451.6 kB / 0.6697 GB, free: 43.15 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004344/0.266, allocations: 0.6864 MB / 0.6704 GB, free: 42.64 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.266, allocations: 2.094 kB / 0.6704 GB, free: 42.64 MB / 0.5573 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0006997/0.2667, allocations: 0.8059 MB / 0.6712 GB, free: 42.28 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.2668, allocations: 9.156 kB / 0.6712 GB, free: 42.28 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/0.2668, allocations: 11.14 kB / 0.6712 GB, free: 42.28 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002718/0.267, allocations: 150.5 kB / 0.6713 GB, free: 42.21 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002337/0.2673, allocations: 124.4 kB / 0.6715 GB, free: 42.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001279/0.2686, allocations: 4.031 MB / 0.6754 GB, free: 38.32 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001772/0.2687, allocations: 36.67 kB / 0.6754 GB, free: 38.31 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.258e-05/0.2688, allocations: 26.03 kB / 0.6755 GB, free: 38.3 MB / 0.5573 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.0001325/0.2689, allocations: 225 kB / 0.6757 GB, free: 38.13 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.017e-05/0.2689, allocations: 61.09 kB / 0.6757 GB, free: 38.1 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005496/0.2695, allocations: 0.5948 MB / 0.6763 GB, free: 37.83 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.2695, allocations: 3.875 kB / 0.6763 GB, free: 37.83 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.2695, allocations: 1.844 kB / 0.6763 GB, free: 37.83 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.2695, allocations: 4.688 kB / 0.6763 GB, free: 37.83 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008974/0.2704, allocations: 1.18 MB / 0.6775 GB, free: 37.17 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.2704, allocations: 4.219 kB / 0.6775 GB, free: 37.16 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001128/0.2705, allocations: 61.12 kB / 0.6775 GB, free: 37.16 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001833/0.2707, allocations: 132.4 kB / 0.6777 GB, free: 37.1 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/0.2707, allocations: 8.344 kB / 0.6777 GB, free: 37.09 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001048/0.2717, allocations: 4.028 MB / 0.6816 GB, free: 33.21 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.2717, allocations: 0 / 0.6816 GB, free: 33.21 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004661/0.2722, allocations: 0.7059 MB / 0.6823 GB, free: 32.8 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 9.448e-05/0.2723, allocations: 86.39 kB / 0.6824 GB, free: 32.76 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.918e-05/0.2723, allocations: 14.88 kB / 0.6824 GB, free: 32.75 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001225/0.2725, allocations: 21.16 kB / 0.6824 GB, free: 32.75 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.872e-05/0.2725, allocations: 32 kB / 0.6824 GB, free: 32.74 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/0.2725, allocations: 20.97 kB / 0.6825 GB, free: 32.74 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001768/0.2727, allocations: 333.6 kB / 0.6828 GB, free: 32.59 MB / 0.5573 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2727, allocations: 4.094 kB / 0.6828 GB, free: 32.58 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003379/0.273, allocations: 143.2 kB / 0.6829 GB, free: 32.57 MB / 0.5573 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.0006096/0.2736, allocations: 1.248 MB / 0.6841 GB, free: 31.62 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0006787/0.2743, allocations: 0.8571 MB / 0.685 GB, free: 31.11 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2743, allocations: 4.25 kB / 0.685 GB, free: 31.1 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003221/0.2746, allocations: 0.5788 MB / 0.6855 GB, free: 30.68 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005593/0.2752, allocations: 196.5 kB / 0.6857 GB, free: 30.63 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004082/0.2793, allocations: 5.1 MB / 0.6907 GB, free: 27.41 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002575/0.2795, allocations: 304.6 kB / 0.691 GB, free: 27.3 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0002349/0.2798, allocations: 123.8 kB / 0.6911 GB, free: 27.28 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001664/0.2799, allocations: 194.3 kB / 0.6913 GB, free: 27.13 MB / 0.5573 GB Notification: Performance of SimCode: time 4.01e-07/0.2799, allocations: 3.938 kB / 0.6913 GB, free: 27.13 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02783/0.3078, allocations: 14.28 MB / 0.7052 GB, free: 23.17 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.145/7.453, allocations: 4.891 kB / 0.7053 GB, free: 23.16 MB / 0.5573 GB " [Timeout remaining time 652] (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: 10.035632827319205] Failed to read output from testmodel.py, exit status != 0: 7.541946257464588 7.554032618 7.294038747 Calling exit ...