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.0008197/0.0008197, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001369/0.001369, allocations: 170.3 kB / 22.46 MB, free: 2.102 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.8741/0.8741, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.001487/0.001487, allocations: 249.6 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.681/0.681, allocations: 138.4 MB / 454.3 MB, free: 30.02 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.VariableImpedance,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.6463 GB, free: 1.871 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.369e-05/1.531e-05, allocations: 6.219 kB / 0.6463 GB, free: 1.863 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.2731/0.2731, allocations: 3.584 MB / 0.6498 GB, free: 55.48 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001767/0.2749, allocations: 1.737 MB / 0.6515 GB, free: 54.79 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001411/0.275, allocations: 24.75 kB / 0.6515 GB, free: 54.78 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0005365/0.2756, allocations: 274 kB / 0.6518 GB, free: 54.67 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0003451/0.2759, allocations: 325.1 kB / 0.6521 GB, free: 54.48 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002841/0.2762, allocations: 249.1 kB / 0.6523 GB, free: 54.36 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0004012/0.2766, allocations: 0.6222 MB / 0.6529 GB, free: 54.07 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002906/0.2769, allocations: 233 kB / 0.6531 GB, free: 53.96 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003219/0.2772, allocations: 341.7 kB / 0.6535 GB, free: 53.83 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000212/0.2774, allocations: 201.3 kB / 0.6537 GB, free: 53.77 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 3.358e-05/0.2775, allocations: 26.38 kB / 0.6537 GB, free: 53.77 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002224/0.2777, allocations: 251.7 kB / 0.6539 GB, free: 53.69 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 9.139e-05/0.2778, allocations: 127.4 kB / 0.6541 GB, free: 53.62 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 9.568e-05/0.2779, allocations: 143 kB / 0.6542 GB, free: 53.57 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0004646/0.2783, allocations: 0.6039 MB / 0.6548 GB, free: 53.36 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.2784, allocations: 1.125 kB / 0.6548 GB, free: 53.36 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.964e-06/0.2784, allocations: 1.25 kB / 0.6548 GB, free: 53.36 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.2784, allocations: 3.25 kB / 0.6548 GB, free: 53.36 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.0007108/0.2791, allocations: 0.6668 MB / 0.6554 GB, free: 52.87 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.2791, allocations: 10.5 kB / 0.6554 GB, free: 52.87 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.946e-05/0.2792, allocations: 74.42 kB / 0.6555 GB, free: 52.81 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004611/0.2796, allocations: 139.4 kB / 0.6556 GB, free: 52.78 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003345/0.28, allocations: 342.2 kB / 0.656 GB, free: 52.54 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.28, allocations: 25.27 kB / 0.656 GB, free: 52.53 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.805e-05/0.28, allocations: 28.16 kB / 0.656 GB, free: 52.52 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004964/0.2805, allocations: 0.6268 MB / 0.6566 GB, free: 52.08 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.2805, allocations: 7.562 kB / 0.6566 GB, free: 52.08 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.191e-05/0.2805, allocations: 15.92 kB / 0.6567 GB, free: 52.07 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.269e-05/0.2806, allocations: 43.06 kB / 0.6567 GB, free: 52.06 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004134/0.281, allocations: 409.2 kB / 0.6571 GB, free: 51.93 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001316/0.2823, allocations: 2.734 MB / 0.6598 GB, free: 49.62 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004141/0.2827, allocations: 307 kB / 0.6601 GB, free: 49.52 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001675/0.2829, allocations: 164.3 kB / 0.6602 GB, free: 49.46 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.94e-05/0.2829, allocations: 8.672 kB / 0.6602 GB, free: 49.46 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.063e-05/0.2829, allocations: 34.91 kB / 0.6603 GB, free: 49.42 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=26): time 1.493e-06/0.2829, allocations: 0 / 0.6603 GB, free: 49.42 MB / 0.5573 GB Notification: Performance of matching and sorting (n=27): time 0.001126/0.2841, allocations: 0.8456 MB / 0.6611 GB, free: 49.08 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.078e-05/0.2841, allocations: 58.89 kB / 0.6611 GB, free: 49.01 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002031/0.2843, allocations: 340.1 kB / 0.6615 GB, free: 48.84 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.279e-05/0.2843, allocations: 31.61 kB / 0.6615 GB, free: 48.8 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 7.976e-05/0.2844, allocations: 256.4 kB / 0.6617 GB, free: 48.59 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.645e-05/0.2844, allocations: 95.52 kB / 0.6618 GB, free: 48.51 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.66e-05/0.2845, allocations: 78.78 kB / 0.6619 GB, free: 48.46 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 4.606e-05/0.2845, allocations: 350.1 kB / 0.6622 GB, free: 48.14 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001583/0.2847, allocations: 147.2 kB / 0.6624 GB, free: 48.09 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001895/0.2849, allocations: 295 kB / 0.6627 GB, free: 47.87 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003669/0.2852, allocations: 484.6 kB / 0.6631 GB, free: 47.55 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.2852, allocations: 1.938 kB / 0.6631 GB, free: 47.55 MB / 0.5573 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005445/0.2858, allocations: 0.5658 MB / 0.6637 GB, free: 47.3 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.2858, allocations: 7.312 kB / 0.6637 GB, free: 47.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.2858, allocations: 7.5 kB / 0.6637 GB, free: 47.3 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001756/0.286, allocations: 89.69 kB / 0.6638 GB, free: 47.26 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000178/0.2862, allocations: 92.67 kB / 0.6639 GB, free: 47.25 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.2862, allocations: 7.266 kB / 0.6639 GB, free: 47.25 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001249/0.2863, allocations: 30.53 kB / 0.6639 GB, free: 47.24 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.761e-05/0.2863, allocations: 18.14 kB / 0.6639 GB, free: 47.24 MB / 0.5573 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.0001038/0.2864, allocations: 178.6 kB / 0.6641 GB, free: 47.09 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.459e-05/0.2864, allocations: 39.91 kB / 0.6641 GB, free: 47.07 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005161/0.287, allocations: 467.9 kB / 0.6646 GB, free: 46.86 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/0.287, allocations: 4.031 kB / 0.6646 GB, free: 46.86 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.287, allocations: 1.625 kB / 0.6646 GB, free: 46.86 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.287, allocations: 2.156 kB / 0.6646 GB, free: 46.86 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008228/0.2878, allocations: 0.8944 MB / 0.6654 GB, free: 46.34 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.2878, allocations: 1.938 kB / 0.6654 GB, free: 46.34 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001185/0.2879, allocations: 51.06 kB / 0.6655 GB, free: 46.33 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001327/0.2881, allocations: 87.3 kB / 0.6656 GB, free: 46.29 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.53e-05/0.2881, allocations: 7.094 kB / 0.6656 GB, free: 46.29 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.2881, allocations: 0 / 0.6656 GB, free: 46.29 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.2881, allocations: 6.547 kB / 0.6656 GB, free: 46.28 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004637/0.2885, allocations: 0.5397 MB / 0.6661 GB, free: 45.97 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 7.884e-05/0.2886, allocations: 67.41 kB / 0.6662 GB, free: 45.94 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.609e-05/0.2886, allocations: 7.906 kB / 0.6662 GB, free: 45.93 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.2887, allocations: 27.92 kB / 0.6662 GB, free: 45.93 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.021e-05/0.2888, allocations: 26.58 kB / 0.6662 GB, free: 45.92 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.2888, allocations: 10.22 kB / 0.6663 GB, free: 45.92 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001365/0.2889, allocations: 234.8 kB / 0.6665 GB, free: 45.8 MB / 0.5573 GB Notification: Performance of sort global known variables: time 8e-08/0.2889, allocations: 0 / 0.6665 GB, free: 45.8 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002495/0.2892, allocations: 85.34 kB / 0.6666 GB, free: 45.79 MB / 0.5573 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.0005589/0.2898, allocations: 1.089 MB / 0.6676 GB, free: 44.95 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0004705/0.2902, allocations: 395.4 kB / 0.668 GB, free: 44.81 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2902, allocations: 0 / 0.668 GB, free: 44.81 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.000202/0.2904, allocations: 199.2 kB / 0.6682 GB, free: 44.73 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004367/0.2909, allocations: 134.4 kB / 0.6683 GB, free: 44.69 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002545/0.2934, allocations: 3.721 MB / 0.672 GB, free: 42.28 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001147/0.2935, allocations: 223.6 kB / 0.6722 GB, free: 42.18 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.000139/0.2937, allocations: 93.97 kB / 0.6723 GB, free: 42.16 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001056/0.2938, allocations: 127.4 kB / 0.6724 GB, free: 42.07 MB / 0.5573 GB Notification: Performance of SimCode: time 3.91e-07/0.2938, allocations: 0 / 0.6724 GB, free: 42.07 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02034/0.3141, allocations: 9.456 MB / 0.6816 GB, free: 40.62 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.894/7.208, allocations: 8.344 kB / 0.6816 GB, free: 40.61 MB / 0.5573 GB " [Timeout remaining time 653] (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 sys.exit(0), Time elapsed: 9.80173388402909] Failed to read output from testmodel.py, exit status != 0: 7.294344946742058 7.3052908 7.024923097 Calling exit ...