Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.0007682/0.0007682, allocations: 72.5 kB / 19.92 MB, free: 4.633 MB / 18.57 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.0008331/0.0008331, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8646/0.8646, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5555/0.5555, allocations: 114 MB / 373.9 MB, free: 8.711 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.695e-06/2.695e-06, allocations: 0 / 0.5542 GB, free: 2.773 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.575e-05/2.844e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.77 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.004061/0.00409, allocations: 3.572 MB / 0.5577 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.002176/0.006266, allocations: 1.742 MB / 0.5594 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001982/0.006464, allocations: 27.75 kB / 0.5594 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0006759/0.00714, allocations: 269.7 kB / 0.5597 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0004924/0.007633, allocations: 322.1 kB / 0.56 GB, free: 12.83 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004092/0.008042, allocations: 259.2 kB / 0.5602 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0005322/0.008574, allocations: 0.6205 MB / 0.5608 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003465/0.008921, allocations: 230.6 kB / 0.561 GB, free: 11.72 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004005/0.009321, allocations: 347 kB / 0.5614 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002369/0.009558, allocations: 207.4 kB / 0.5616 GB, free: 11.18 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.503e-05/0.009593, allocations: 28 kB / 0.5616 GB, free: 11.15 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000312/0.009905, allocations: 239.3 kB / 0.5618 GB, free: 10.92 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001168/0.01002, allocations: 135.5 kB / 0.562 GB, free: 10.79 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001032/0.01012, allocations: 135.6 kB / 0.5621 GB, free: 10.65 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0005361/0.01066, allocations: 0.6113 MB / 0.5627 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.01066, allocations: 0 / 0.5627 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.492e-06/0.01067, allocations: 0 / 0.5627 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.01067, allocations: 0 / 0.5627 GB, free: 10.04 MB / 0.5261 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.0008972/0.01157, allocations: 0.6604 MB / 0.5633 GB, free: 9.348 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.01162, allocations: 8.031 kB / 0.5633 GB, free: 9.34 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.391e-05/0.01168, allocations: 70.72 kB / 0.5634 GB, free: 9.262 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004913/0.01217, allocations: 144.5 kB / 0.5635 GB, free: 9.121 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004089/0.01258, allocations: 344.6 kB / 0.5639 GB, free: 8.758 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.904e-05/0.0126, allocations: 25.02 kB / 0.5639 GB, free: 8.734 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.088e-05/0.01264, allocations: 28.31 kB / 0.5639 GB, free: 8.707 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005665/0.01321, allocations: 0.6309 MB / 0.5645 GB, free: 7.984 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/0.01323, allocations: 7.938 kB / 0.5645 GB, free: 7.977 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.536e-05/0.01325, allocations: 15.98 kB / 0.5646 GB, free: 7.961 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-05/0.01329, allocations: 40.62 kB / 0.5646 GB, free: 7.922 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004539/0.01375, allocations: 410.1 kB / 0.565 GB, free: 7.52 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00187/0.01562, allocations: 2.741 MB / 0.5677 GB, free: 4.652 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004366/0.01605, allocations: 303.5 kB / 0.568 GB, free: 4.348 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001806/0.01623, allocations: 172.6 kB / 0.5681 GB, free: 4.176 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.01625, allocations: 3.938 kB / 0.5681 GB, free: 4.172 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.123e-05/0.01627, allocations: 38.56 kB / 0.5682 GB, free: 4.125 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=26): time 1.382e-06/0.01628, allocations: 4 kB / 0.5682 GB, free: 4.121 MB / 0.5261 GB Notification: Performance of matching and sorting (n=27): time 0.00122/0.0175, allocations: 0.8288 MB / 0.569 GB, free: 3.277 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.475e-05/0.01753, allocations: 63.58 kB / 0.569 GB, free: 3.203 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002432/0.01777, allocations: 353.5 kB / 0.5694 GB, free: 2.848 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.041e-05/0.01779, allocations: 29.7 kB / 0.5694 GB, free: 2.812 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/0.01791, allocations: 252.1 kB / 0.5696 GB, free: 2.562 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.13e-05/0.01796, allocations: 95.12 kB / 0.5697 GB, free: 2.469 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.294e-05/0.01803, allocations: 74.14 kB / 0.5698 GB, free: 2.391 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.01814, allocations: 350.8 kB / 0.5701 GB, free: 2.039 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001661/0.01831, allocations: 148.8 kB / 0.5703 GB, free: 1.895 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002307/0.01854, allocations: 291.2 kB / 0.5706 GB, free: 1.551 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004222/0.01896, allocations: 484.2 kB / 0.571 GB, free: 1.016 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.01896, allocations: 0 / 0.571 GB, free: 1.016 MB / 0.5261 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005983/0.01956, allocations: 0.5664 MB / 0.5716 GB, free: 444 kB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.01958, allocations: 17.95 kB / 0.5716 GB, free: 428 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.01959, allocations: 4 kB / 0.5716 GB, free: 424 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001948/0.01978, allocations: 86.45 kB / 0.5717 GB, free: 328 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001772/0.01996, allocations: 87.88 kB / 0.5718 GB, free: 240 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/0.01997, allocations: 11.94 kB / 0.5718 GB, free: 228 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001289/0.0201, allocations: 23.97 kB / 0.5718 GB, free: 204 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.945e-05/0.02012, allocations: 20 kB / 0.5718 GB, free: 184 kB / 0.5261 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.0001455/0.02026, allocations: 177.8 kB / 0.572 GB, free: 15.99 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.805e-05/0.0203, allocations: 39.77 kB / 0.572 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000527/0.02083, allocations: 464 kB / 0.5725 GB, free: 15.48 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.02083, allocations: 7.938 kB / 0.5725 GB, free: 15.48 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.02084, allocations: 0 / 0.5725 GB, free: 15.48 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.02084, allocations: 0 / 0.5725 GB, free: 15.48 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009095/0.02175, allocations: 0.8965 MB / 0.5733 GB, free: 14.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/0.02175, allocations: 4 kB / 0.5734 GB, free: 14.51 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001172/0.02187, allocations: 51.95 kB / 0.5734 GB, free: 14.46 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001456/0.02202, allocations: 86.39 kB / 0.5735 GB, free: 14.37 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.541e-05/0.02203, allocations: 4 kB / 0.5735 GB, free: 14.36 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.02204, allocations: 7.984 kB / 0.5735 GB, free: 14.36 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.02204, allocations: 3.938 kB / 0.5735 GB, free: 14.35 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005191/0.02256, allocations: 0.547 MB / 0.574 GB, free: 13.77 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 8.885e-05/0.02265, allocations: 59.69 kB / 0.5741 GB, free: 13.71 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.849e-05/0.02268, allocations: 11.98 kB / 0.5741 GB, free: 13.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.02278, allocations: 19.98 kB / 0.5741 GB, free: 13.68 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.852e-05/0.02285, allocations: 31.83 kB / 0.5742 GB, free: 13.65 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-06/0.02286, allocations: 4 kB / 0.5742 GB, free: 13.64 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001645/0.02302, allocations: 239.2 kB / 0.5744 GB, free: 13.41 MB / 0.5417 GB Notification: Performance of sort global known variables: time 8e-08/0.02302, allocations: 0 / 0.5744 GB, free: 13.41 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002741/0.0233, allocations: 92 kB / 0.5745 GB, free: 13.32 MB / 0.5417 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.0007194/0.02402, allocations: 1.085 MB / 0.5755 GB, free: 12.19 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0005373/0.02455, allocations: 398.5 kB / 0.5759 GB, free: 11.79 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.02455, allocations: 0 / 0.5759 GB, free: 11.79 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002158/0.02477, allocations: 195.5 kB / 0.5761 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004702/0.02524, allocations: 126.7 kB / 0.5762 GB, free: 11.48 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00322/0.02846, allocations: 3.715 MB / 0.5798 GB, free: 7.52 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001462/0.02861, allocations: 223.7 kB / 0.5801 GB, free: 7.281 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001566/0.02876, allocations: 75.36 kB / 0.5801 GB, free: 7.207 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001268/0.02889, allocations: 132.5 kB / 0.5803 GB, free: 7.078 MB / 0.5417 GB Notification: Performance of SimCode: time 6.51e-07/0.02889, allocations: 0 / 0.5803 GB, free: 7.078 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01982/0.04871, allocations: 9.438 MB / 0.5895 GB, free: 13.96 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.382/7.431, allocations: 13.89 kB / 0.5895 GB, free: 13.95 MB / 0.5573 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.896393116563559] Failed to read output from testmodel.py, exit status != 0: 7.514050354249775 7.522539111 7.510259606 Calling exit ...