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.001381/0.001381, allocations: 119.2 kB / 19.7 MB, free: 2.188 MB / 14.72 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.001546/0.001546, allocations: 221 kB / 23.01 MB, free: 5 MB / 14.72 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 1.527/1.527, allocations: 230.6 MB / 256.8 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] 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 1.027/1.027, allocations: 150 MB / 463.2 MB, free: 10.48 MB / 366.1 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: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002352/0.002352, allocations: 68.38 kB / 0.6413 GB, free: 10.38 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2355/0.2379, allocations: 89.17 MB / 0.7284 GB, free: 1.27 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.008148/0.246, allocations: 4.988 MB / 0.7332 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005054/0.2511, allocations: 2.576 MB / 0.7357 GB, free: 9.668 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006546/0.2517, allocations: 35.62 kB / 0.7358 GB, free: 9.633 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001518/0.2533, allocations: 417.8 kB / 0.7362 GB, free: 9.223 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001322/0.2546, allocations: 473.7 kB / 0.7366 GB, free: 8.758 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001027/0.2556, allocations: 381.3 kB / 0.737 GB, free: 8.391 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001681/0.2573, allocations: 0.91 MB / 0.7379 GB, free: 7.477 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008021/0.2581, allocations: 326.6 kB / 0.7382 GB, free: 7.156 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009147/0.259, allocations: 354.7 kB / 0.7385 GB, free: 6.809 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008658/0.2599, allocations: 366.4 kB / 0.7389 GB, free: 6.449 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001298/0.26, allocations: 40 kB / 0.7389 GB, free: 6.41 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001143/0.2611, allocations: 411.1 kB / 0.7393 GB, free: 6.008 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003244/0.2615, allocations: 187.3 kB / 0.7395 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006043/0.2621, allocations: 318.2 kB / 0.7398 GB, free: 5.512 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001545/0.2636, allocations: 0.8871 MB / 0.7407 GB, free: 4.621 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.2636, allocations: 0 / 0.7407 GB, free: 4.621 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.254e-06/0.2636, allocations: 4 kB / 0.7407 GB, free: 4.617 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.981e-05/0.2637, allocations: 0 / 0.7407 GB, free: 4.617 MB / 0.5606 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.001647/0.2653, allocations: 0.8779 MB / 0.7415 GB, free: 3.703 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.505e-05/0.2654, allocations: 19.97 kB / 0.7415 GB, free: 3.684 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001189/0.2655, allocations: 90.69 kB / 0.7416 GB, free: 3.586 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001216/0.2667, allocations: 200.3 kB / 0.7418 GB, free: 3.391 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009738/0.2677, allocations: 484.7 kB / 0.7423 GB, free: 2.891 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.359e-05/0.2677, allocations: 33.38 kB / 0.7423 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.366e-05/0.2678, allocations: 48.31 kB / 0.7424 GB, free: 2.812 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001242/0.269, allocations: 0.8485 MB / 0.7432 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.945e-05/0.2691, allocations: 7.938 kB / 0.7432 GB, free: 1.82 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.757e-05/0.2691, allocations: 27.98 kB / 0.7432 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001038/0.2692, allocations: 64.95 kB / 0.7433 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008672/0.2701, allocations: 0.5694 MB / 0.7438 GB, free: 1.16 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00518/0.2753, allocations: 5.574 MB / 0.7493 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006785/0.276, allocations: 418.3 kB / 0.7497 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003045/0.2763, allocations: 204.7 kB / 0.7499 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.794e-05/0.2763, allocations: 4 kB / 0.7499 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.633e-05/0.2763, allocations: 38.56 kB / 0.7499 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=32): time 1.994e-06/0.2763, allocations: 3.938 kB / 0.7499 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.00255/0.2789, allocations: 1.128 MB / 0.751 GB, free: 9.375 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.04e-05/0.2789, allocations: 55.69 kB / 0.7511 GB, free: 9.309 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005543/0.2795, allocations: 0.495 MB / 0.7516 GB, free: 8.801 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.823e-05/0.2795, allocations: 33.7 kB / 0.7516 GB, free: 8.762 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002902/0.2798, allocations: 363.8 kB / 0.7519 GB, free: 8.402 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000113/0.2799, allocations: 115 kB / 0.752 GB, free: 8.289 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001515/0.2801, allocations: 110.2 kB / 0.7521 GB, free: 8.176 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001848/0.2803, allocations: 370.8 kB / 0.7525 GB, free: 7.805 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002862/0.2805, allocations: 197.2 kB / 0.7527 GB, free: 7.613 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004933/0.281, allocations: 447.3 kB / 0.7531 GB, free: 7.059 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008494/0.2819, allocations: 0.6954 MB / 0.7538 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.448e-06/0.2819, allocations: 4 kB / 0.7538 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001296/0.2832, allocations: 0.8052 MB / 0.7546 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.583e-05/0.2832, allocations: 9.719 kB / 0.7546 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.61e-05/0.2832, allocations: 12.91 kB / 0.7546 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005304/0.2838, allocations: 156.1 kB / 0.7548 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004523/0.2842, allocations: 127.7 kB / 0.7549 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003689/0.2879, allocations: 4.038 MB / 0.7588 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003474/0.2883, allocations: 36.12 kB / 0.7589 GB, free: 0.6836 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.875e-05/0.2883, allocations: 31.98 kB / 0.7589 GB, free: 0.6523 MB / 0.5762 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.0002881/0.2886, allocations: 219 kB / 0.7591 GB, free: 440 kB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.661e-05/0.2887, allocations: 63.62 kB / 0.7592 GB, free: 376 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4145/0.7032, allocations: 0.5969 MB / 0.7597 GB, free: 34.15 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/0.7032, allocations: 2.875 kB / 0.7597 GB, free: 34.15 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.7032, allocations: 2.438 kB / 0.7597 GB, free: 34.15 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/0.7032, allocations: 3.609 kB / 0.7597 GB, free: 34.15 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001725/0.7049, allocations: 1.225 MB / 0.7609 GB, free: 33.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.7049, allocations: 4.219 kB / 0.7609 GB, free: 33.79 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002603/0.7052, allocations: 56.84 kB / 0.761 GB, free: 33.79 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003587/0.7055, allocations: 142.5 kB / 0.7611 GB, free: 33.75 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.201e-05/0.7056, allocations: 8.703 kB / 0.7611 GB, free: 33.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00216/0.7077, allocations: 4.031 MB / 0.7651 GB, free: 30.13 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.7077, allocations: 2.25 kB / 0.7651 GB, free: 30.13 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008174/0.7086, allocations: 0.7116 MB / 0.7658 GB, free: 29.9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002065/0.7088, allocations: 92.48 kB / 0.7659 GB, free: 29.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.995e-05/0.7088, allocations: 10.92 kB / 0.7659 GB, free: 29.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002451/0.7091, allocations: 22.91 kB / 0.7659 GB, free: 29.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.776e-05/0.7091, allocations: 32.69 kB / 0.7659 GB, free: 29.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.987e-05/0.7092, allocations: 12.16 kB / 0.7659 GB, free: 29.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003132/0.7095, allocations: 336.1 kB / 0.7663 GB, free: 29.81 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.7095, allocations: 0 / 0.7663 GB, free: 29.81 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006031/0.7101, allocations: 141.4 kB / 0.7664 GB, free: 29.81 MB / 0.5762 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.001034/0.7111, allocations: 1.264 MB / 0.7676 GB, free: 29.04 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001224/0.7123, allocations: 0.8557 MB / 0.7685 GB, free: 28.69 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.7123, allocations: 0 / 0.7685 GB, free: 28.69 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006427/0.713, allocations: 0.5743 MB / 0.769 GB, free: 28.34 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009011/0.7139, allocations: 215.7 kB / 0.7692 GB, free: 28.34 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005706/0.7196, allocations: 5.108 MB / 0.7742 GB, free: 25.91 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004073/0.72, allocations: 0.9059 MB / 0.7751 GB, free: 25.21 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004014/0.7204, allocations: 115.9 kB / 0.7752 GB, free: 25.19 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002853/0.7207, allocations: 194.8 kB / 0.7754 GB, free: 25.18 MB / 0.5762 GB Notification: Performance of SimCode: time 1.293e-06/0.7207, allocations: 0 / 0.7754 GB, free: 25.18 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05565/0.7763, allocations: 13.21 MB / 0.7883 GB, free: 22.8 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.17/12.95, allocations: 6.328 kB / 0.7883 GB, free: 22.8 MB / 0.5762 GB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_TestImpedance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 16.993689640890807] Failed to read output from testmodel.py, exit status != 0: 13.068284269887954 13.094435686 12.8257199 Calling exit ...