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.000789/0.000789, allocations: 76.55 kB / 19.93 MB, free: 4.617 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.0008348/0.0008348, allocations: 173.9 kB / 23.21 MB, free: 1.336 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.9318/0.9318, allocations: 177.2 MB / 203.5 MB, free: 5.496 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.5684/0.5684, allocations: 114 MB / 373.9 MB, free: 8.625 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 3.166e-06/3.166e-06, allocations: 0 / 0.5542 GB, free: 1.727 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.051e-05/3.367e-05, allocations: 2.281 kB / 0.5542 GB, free: 1.723 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.005832/0.005865, allocations: 3.576 MB / 0.5577 GB, free: 14.13 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002846/0.008711, allocations: 1.749 MB / 0.5594 GB, free: 12.37 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000307/0.009018, allocations: 23.75 kB / 0.5594 GB, free: 12.35 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006991/0.009718, allocations: 269.6 kB / 0.5597 GB, free: 12.09 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005694/0.01029, allocations: 330.1 kB / 0.56 GB, free: 11.76 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004531/0.01074, allocations: 251.2 kB / 0.5602 GB, free: 11.52 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005035/0.01124, allocations: 0.6244 MB / 0.5608 GB, free: 10.89 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003785/0.01162, allocations: 226.6 kB / 0.561 GB, free: 10.66 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004274/0.01205, allocations: 347 kB / 0.5614 GB, free: 10.32 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002602/0.01231, allocations: 211.3 kB / 0.5616 GB, free: 10.12 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.963e-05/0.01235, allocations: 24 kB / 0.5616 GB, free: 10.09 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000383/0.01273, allocations: 239.4 kB / 0.5618 GB, free: 9.859 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000124/0.01286, allocations: 135.5 kB / 0.562 GB, free: 9.727 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00012/0.01298, allocations: 139.6 kB / 0.5621 GB, free: 9.59 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005686/0.01354, allocations: 0.6074 MB / 0.5627 GB, free: 8.98 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.01355, allocations: 0 / 0.5627 GB, free: 8.98 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.01355, allocations: 4 kB / 0.5627 GB, free: 8.977 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.885e-06/0.01356, allocations: 0 / 0.5627 GB, free: 8.977 MB / 490.7 MB 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.0008484/0.01441, allocations: 0.6565 MB / 0.5633 GB, free: 8.289 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.01445, allocations: 12.62 kB / 0.5633 GB, free: 8.277 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.552e-05/0.0145, allocations: 74.7 kB / 0.5634 GB, free: 8.195 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005776/0.01508, allocations: 144.5 kB / 0.5636 GB, free: 8.055 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003975/0.01548, allocations: 344.6 kB / 0.5639 GB, free: 7.691 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/0.0155, allocations: 21.03 kB / 0.5639 GB, free: 7.672 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.597e-05/0.01554, allocations: 40.23 kB / 0.5639 GB, free: 7.633 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006056/0.01615, allocations: 0.6348 MB / 0.5646 GB, free: 6.91 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.01617, allocations: 3.938 kB / 0.5646 GB, free: 6.906 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.561e-05/0.01619, allocations: 16 kB / 0.5646 GB, free: 6.891 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.088e-05/0.01624, allocations: 44.62 kB / 0.5646 GB, free: 6.848 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004679/0.01671, allocations: 402.1 kB / 0.565 GB, free: 6.453 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001781/0.01849, allocations: 2.737 MB / 0.5677 GB, free: 3.59 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004462/0.01894, allocations: 306.5 kB / 0.568 GB, free: 3.281 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001674/0.0191, allocations: 168.6 kB / 0.5681 GB, free: 3.113 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.958e-05/0.01912, allocations: 8 kB / 0.5681 GB, free: 3.105 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.713e-05/0.01914, allocations: 34.56 kB / 0.5682 GB, free: 3.062 MB / 490.7 MB Notification: Performance of pre-optimization done (n=26): time 1.943e-06/0.01914, allocations: 0 / 0.5682 GB, free: 3.062 MB / 490.7 MB Notification: Performance of matching and sorting (n=27): time 0.001267/0.02041, allocations: 0.8366 MB / 0.569 GB, free: 2.211 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.73e-05/0.02045, allocations: 59.58 kB / 0.569 GB, free: 2.141 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002425/0.02069, allocations: 349.5 kB / 0.5694 GB, free: 1.793 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.733e-05/0.02071, allocations: 29.7 kB / 0.5694 GB, free: 1.758 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.02082, allocations: 252.1 kB / 0.5696 GB, free: 1.508 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.629e-05/0.02088, allocations: 99.11 kB / 0.5697 GB, free: 1.41 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.229e-05/0.02096, allocations: 78.14 kB / 0.5698 GB, free: 1.328 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.134e-05/0.02105, allocations: 346.8 kB / 0.5701 GB, free: 0.9805 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002043/0.02125, allocations: 152.8 kB / 0.5703 GB, free: 0.8281 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002109/0.02146, allocations: 291.2 kB / 0.5706 GB, free: 496 kB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004293/0.02189, allocations: 484.9 kB / 0.571 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.0219, allocations: 0 / 0.571 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005995/0.0225, allocations: 0.5663 MB / 0.5716 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/0.02252, allocations: 11.98 kB / 0.5716 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.02253, allocations: 4 kB / 0.5716 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001962/0.02273, allocations: 86.45 kB / 0.5717 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001849/0.02291, allocations: 87.88 kB / 0.5718 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/0.02292, allocations: 11.94 kB / 0.5718 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001404/0.02306, allocations: 24.19 kB / 0.5718 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.812e-05/0.02308, allocations: 24 kB / 0.5718 GB, free: 15.11 MB / 0.4948 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.0001303/0.02321, allocations: 177.7 kB / 0.572 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.523e-05/0.02325, allocations: 39.77 kB / 0.572 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005211/0.02377, allocations: 460.1 kB / 0.5725 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.02377, allocations: 4 kB / 0.5725 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.02378, allocations: 3.938 kB / 0.5725 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.02378, allocations: 4 kB / 0.5725 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000878/0.02466, allocations: 0.8957 MB / 0.5734 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.02466, allocations: 4 kB / 0.5734 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001149/0.02478, allocations: 51.89 kB / 0.5734 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001354/0.02491, allocations: 90.39 kB / 0.5735 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.02493, allocations: 8.094 kB / 0.5735 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.02493, allocations: 11.92 kB / 0.5735 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.02493, allocations: 0 / 0.5735 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000556/0.02549, allocations: 0.5391 MB / 0.574 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.01e-05/0.02557, allocations: 63.69 kB / 0.5741 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.733e-05/0.0256, allocations: 7.984 kB / 0.5741 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.0257, allocations: 23.97 kB / 0.5741 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.699e-05/0.02576, allocations: 27.84 kB / 0.5742 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.02577, allocations: 8 kB / 0.5742 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001436/0.02591, allocations: 239.2 kB / 0.5744 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.02591, allocations: 0 / 0.5744 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002798/0.02619, allocations: 88 kB / 0.5745 GB, free: 12.26 MB / 0.4948 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.0006883/0.02688, allocations: 1.084 MB / 0.5755 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004871/0.02737, allocations: 402.3 kB / 0.5759 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.02737, allocations: 4 kB / 0.5759 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002012/0.02757, allocations: 195.6 kB / 0.5761 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000429/0.028, allocations: 129.1 kB / 0.5762 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003036/0.03104, allocations: 3.706 MB / 0.5799 GB, free: 6.465 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001361/0.03117, allocations: 227.7 kB / 0.5801 GB, free: 6.223 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001671/0.03134, allocations: 79.34 kB / 0.5801 GB, free: 6.145 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001365/0.03148, allocations: 132.5 kB / 0.5803 GB, free: 6.016 MB / 0.4948 GB Notification: Performance of SimCode: time 1.313e-06/0.03148, allocations: 0 / 0.5803 GB, free: 6.016 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02272/0.0542, allocations: 9.434 MB / 0.5895 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.214/7.268, allocations: 9.938 kB / 0.5895 GB, free: 12.9 MB / 0.5105 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.90589328482747] Failed to read output from testmodel.py, exit status != 0: 7.358719367533922 7.369379014 7.35387087 Calling exit ...