Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.0008356/0.0008356, allocations: 76.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.0008801/0.0008801, allocations: 170.3 kB / 23.21 MB, free: 1.355 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.9304/0.9304, allocations: 177.1 MB / 203.5 MB, free: 5.754 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.5681/0.5681, allocations: 114 MB / 373.9 MB, free: 8.703 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.TestImpedance,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 3.938 kB / 0.5542 GB, free: 2.766 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.031e-05/2.187e-05, allocations: 6.281 kB / 0.5542 GB, free: 2.758 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.004343/0.004365, allocations: 4.55 MB / 0.5586 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.002812/0.007177, allocations: 2.381 MB / 0.561 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002718/0.007448, allocations: 35.62 kB / 0.561 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0009288/0.008377, allocations: 401.8 kB / 0.5614 GB, free: 11.37 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0007765/0.009154, allocations: 485.1 kB / 0.5618 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006152/0.009769, allocations: 381.6 kB / 0.5622 GB, free: 10.52 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0006894/0.01046, allocations: 0.9408 MB / 0.5631 GB, free: 9.578 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004311/0.01089, allocations: 318.4 kB / 0.5634 GB, free: 9.262 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005298/0.01142, allocations: 494.7 kB / 0.5639 GB, free: 8.777 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003533/0.01177, allocations: 311 kB / 0.5642 GB, free: 8.473 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 4.418e-05/0.01182, allocations: 39.94 kB / 0.5642 GB, free: 8.434 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005048/0.01232, allocations: 374.9 kB / 0.5646 GB, free: 8.066 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001463/0.01247, allocations: 187.4 kB / 0.5648 GB, free: 7.883 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.000151/0.01262, allocations: 211.4 kB / 0.565 GB, free: 7.676 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0006877/0.01331, allocations: 0.9033 MB / 0.5659 GB, free: 6.77 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.01331, allocations: 0 / 0.5659 GB, free: 6.77 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.453e-06/0.01331, allocations: 0 / 0.5659 GB, free: 6.77 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.705e-06/0.01332, allocations: 4 kB / 0.5659 GB, free: 6.766 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.0009766/0.0143, allocations: 0.8762 MB / 0.5667 GB, free: 5.859 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.01434, allocations: 12.62 kB / 0.5667 GB, free: 5.848 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.668e-05/0.01442, allocations: 90.69 kB / 0.5668 GB, free: 5.75 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007234/0.01514, allocations: 216.2 kB / 0.567 GB, free: 5.539 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005504/0.01569, allocations: 480 kB / 0.5675 GB, free: 5.047 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.261e-05/0.01571, allocations: 29.38 kB / 0.5675 GB, free: 5.02 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.506e-05/0.01577, allocations: 48.36 kB / 0.5675 GB, free: 4.973 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009373/0.01671, allocations: 0.9703 MB / 0.5685 GB, free: 3.844 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.982e-05/0.01673, allocations: 8.125 kB / 0.5685 GB, free: 3.836 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.496e-05/0.01676, allocations: 28.11 kB / 0.5685 GB, free: 3.809 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.727e-05/0.01683, allocations: 68.95 kB / 0.5686 GB, free: 3.738 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005698/0.0174, allocations: 0.5656 MB / 0.5691 GB, free: 3.176 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002613/0.02001, allocations: 4.697 MB / 0.5737 GB, free: 14.28 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004466/0.02046, allocations: 422.3 kB / 0.5741 GB, free: 13.86 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001938/0.02065, allocations: 200.7 kB / 0.5743 GB, free: 13.66 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.177e-05/0.02067, allocations: 4.531 kB / 0.5743 GB, free: 13.65 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/0.0207, allocations: 38.56 kB / 0.5744 GB, free: 13.61 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=32): time 1.904e-06/0.0207, allocations: 0 / 0.5744 GB, free: 13.61 MB / 0.5417 GB Notification: Performance of matching and sorting (n=33): time 0.001714/0.02241, allocations: 1.139 MB / 0.5755 GB, free: 12.44 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.679e-05/0.02245, allocations: 63.62 kB / 0.5755 GB, free: 12.37 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003496/0.0228, allocations: 0.495 MB / 0.576 GB, free: 11.86 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.02282, allocations: 33.7 kB / 0.5761 GB, free: 11.82 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.000168/0.02299, allocations: 367.7 kB / 0.5764 GB, free: 11.46 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 6.27e-05/0.02305, allocations: 127 kB / 0.5765 GB, free: 11.34 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/0.02315, allocations: 110.2 kB / 0.5766 GB, free: 11.22 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.02326, allocations: 362.8 kB / 0.577 GB, free: 10.86 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001984/0.02345, allocations: 197.1 kB / 0.5772 GB, free: 10.67 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003143/0.02377, allocations: 451.3 kB / 0.5776 GB, free: 10.11 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005639/0.02433, allocations: 0.6915 MB / 0.5783 GB, free: 9.305 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.02433, allocations: 0 / 0.5783 GB, free: 9.305 MB / 0.5417 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.000842/0.02518, allocations: 0.8138 MB / 0.5791 GB, free: 8.469 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/0.0252, allocations: 8 kB / 0.5791 GB, free: 8.461 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.02521, allocations: 8 kB / 0.5791 GB, free: 8.453 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000322/0.02553, allocations: 148.2 kB / 0.5792 GB, free: 8.293 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002659/0.0258, allocations: 119.8 kB / 0.5793 GB, free: 8.176 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002404/0.0282, allocations: 4.038 MB / 0.5833 GB, free: 3.797 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002585/0.02846, allocations: 35.97 kB / 0.5833 GB, free: 3.762 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.597e-05/0.02849, allocations: 28 kB / 0.5833 GB, free: 3.734 MB / 0.5417 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.0002071/0.02869, allocations: 205.6 kB / 0.5835 GB, free: 3.523 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.208e-05/0.02875, allocations: 63.72 kB / 0.5836 GB, free: 3.461 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006529/0.0294, allocations: 0.6125 MB / 0.5842 GB, free: 2.824 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.0294, allocations: 4 kB / 0.5842 GB, free: 2.82 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.0294, allocations: 0 / 0.5842 GB, free: 2.82 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.02941, allocations: 0 / 0.5842 GB, free: 2.82 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001145/0.03055, allocations: 1.182 MB / 0.5854 GB, free: 1.551 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.03056, allocations: 4 kB / 0.5854 GB, free: 1.547 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001376/0.03069, allocations: 55.89 kB / 0.5854 GB, free: 1.492 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002348/0.03093, allocations: 144.4 kB / 0.5856 GB, free: 1.336 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.65e-05/0.03094, allocations: 8 kB / 0.5856 GB, free: 1.328 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00206/0.03301, allocations: 4.011 MB / 0.5895 GB, free: 12.97 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.03301, allocations: 4.297 kB / 0.5895 GB, free: 12.97 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000652/0.03366, allocations: 0.7086 MB / 0.5902 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00013/0.03379, allocations: 91.55 kB / 0.5903 GB, free: 12.12 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.41e-05/0.03382, allocations: 15.98 kB / 0.5903 GB, free: 12.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001418/0.03397, allocations: 19.97 kB / 0.5903 GB, free: 12.08 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.419e-05/0.03402, allocations: 31.89 kB / 0.5903 GB, free: 12.05 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.366e-05/0.03403, allocations: 8 kB / 0.5903 GB, free: 12.04 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002516/0.03429, allocations: 338.8 kB / 0.5907 GB, free: 11.71 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4e-08/0.03429, allocations: 0 / 0.5907 GB, free: 11.71 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0004466/0.03473, allocations: 140 kB / 0.5908 GB, free: 11.58 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.0008317/0.03556, allocations: 1.246 MB / 0.592 GB, free: 10.27 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0008898/0.03645, allocations: 0.8677 MB / 0.5929 GB, free: 9.355 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.03646, allocations: 0 / 0.5929 GB, free: 9.355 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0004209/0.03688, allocations: 0.5722 MB / 0.5934 GB, free: 8.738 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006168/0.03749, allocations: 205.5 kB / 0.5936 GB, free: 8.551 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004446/0.04194, allocations: 5.102 MB / 0.5986 GB, free: 3.059 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002117/0.04215, allocations: 311.6 kB / 0.5989 GB, free: 2.727 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0002477/0.0424, allocations: 117.3 kB / 0.599 GB, free: 2.609 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001814/0.04258, allocations: 196.4 kB / 0.5992 GB, free: 2.418 MB / 0.5573 GB Notification: Performance of SimCode: time 1.382e-06/0.04258, allocations: 0 / 0.5992 GB, free: 2.418 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03236/0.07495, allocations: 14.23 MB / 0.6131 GB, free: 4.59 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.489/7.564, allocations: 14.53 kB / 0.6131 GB, free: 4.582 MB / 0.573 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_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_TestImpedance.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.190558270551264] Failed to read output from testmodel.py, exit status != 0: 7.655164394527674 7.6638146449999995 7.648513019 Calling exit ...