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.001302/0.001302, allocations: 109.2 kB / 20.48 MB, free: 1.473 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.001484/0.001484, allocations: 213.7 kB / 23.79 MB, free: 4.68 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.511/1.511, allocations: 230.6 MB / 257.6 MB, free: 7.988 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 0.9568/0.9568, allocations: 150 MB / 463.9 MB, free: 10.5 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.VariableImpedance,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="cs",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.002237/0.002237, allocations: 69.98 kB / 0.642 GB, free: 10.38 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2108/0.213, allocations: 89.17 MB / 0.7291 GB, free: 1.277 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.006694/0.2197, allocations: 3.861 MB / 0.7329 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003346/0.2231, allocations: 1.878 MB / 0.7347 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002236/0.2233, allocations: 23.81 kB / 0.7347 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009331/0.2242, allocations: 282.6 kB / 0.735 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0006986/0.2249, allocations: 310.5 kB / 0.7353 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006095/0.2255, allocations: 250.9 kB / 0.7356 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007252/0.2262, allocations: 0.613 MB / 0.7361 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004223/0.2267, allocations: 238.7 kB / 0.7364 GB, free: 9.809 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004026/0.2271, allocations: 243.1 kB / 0.7366 GB, free: 9.57 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003642/0.2274, allocations: 247 kB / 0.7368 GB, free: 9.328 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.774e-05/0.2275, allocations: 28 kB / 0.7369 GB, free: 9.301 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004985/0.228, allocations: 287.4 kB / 0.7371 GB, free: 9.02 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001418/0.2281, allocations: 123.6 kB / 0.7373 GB, free: 8.898 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000203/0.2283, allocations: 210.8 kB / 0.7375 GB, free: 8.691 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0007133/0.229, allocations: 0.5836 MB / 0.738 GB, free: 8.105 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.229, allocations: 0 / 0.738 GB, free: 8.105 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.743e-06/0.229, allocations: 0 / 0.738 GB, free: 8.105 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.224e-05/0.2291, allocations: 0 / 0.738 GB, free: 8.105 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001206/0.2303, allocations: 0.6823 MB / 0.7387 GB, free: 7.395 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.2303, allocations: 12.03 kB / 0.7387 GB, free: 7.383 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.957e-05/0.2303, allocations: 8.844 kB / 0.7387 GB, free: 7.375 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.707e-05/0.2304, allocations: 74.7 kB / 0.7388 GB, free: 7.293 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008711/0.2313, allocations: 136.5 kB / 0.7389 GB, free: 7.16 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005777/0.2319, allocations: 341.3 kB / 0.7392 GB, free: 6.797 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.228e-05/0.2319, allocations: 21.03 kB / 0.7393 GB, free: 6.777 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.144e-05/0.2319, allocations: 28.38 kB / 0.7393 GB, free: 6.75 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008513/0.2328, allocations: 0.5546 MB / 0.7398 GB, free: 6.121 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.264e-05/0.2328, allocations: 11.89 kB / 0.7398 GB, free: 6.109 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.721e-05/0.2328, allocations: 15.94 kB / 0.7399 GB, free: 6.094 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-05/0.2329, allocations: 44.62 kB / 0.7399 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007244/0.2336, allocations: 414 kB / 0.7403 GB, free: 5.648 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003021/0.2367, allocations: 3.267 MB / 0.7435 GB, free: 2.145 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006747/0.2373, allocations: 306.5 kB / 0.7438 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003042/0.2376, allocations: 160.8 kB / 0.7439 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.681e-05/0.2377, allocations: 4 kB / 0.7439 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.2377, allocations: 34.56 kB / 0.744 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=26): time 1.693e-06/0.2377, allocations: 3.938 kB / 0.744 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of matching and sorting (n=27): time 0.002061/0.2398, allocations: 0.8491 MB / 0.7448 GB, free: 0.7617 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.335e-05/0.2398, allocations: 55.64 kB / 0.7449 GB, free: 0.6953 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003619/0.2402, allocations: 345.6 kB / 0.7452 GB, free: 356 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.768e-05/0.2402, allocations: 25.7 kB / 0.7452 GB, free: 324 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001828/0.2404, allocations: 252.1 kB / 0.7455 GB, free: 68 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001061/0.2405, allocations: 103.2 kB / 0.7456 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001204/0.2406, allocations: 70.09 kB / 0.7456 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001714/0.2408, allocations: 350.8 kB / 0.746 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002882/0.2411, allocations: 152.8 kB / 0.7461 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004187/0.2415, allocations: 294.5 kB / 0.7464 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007136/0.2422, allocations: 482.3 kB / 0.7468 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.2422, allocations: 0 / 0.7468 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001112/0.2433, allocations: 0.5658 MB / 0.7474 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.2433, allocations: 4 kB / 0.7474 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/0.2433, allocations: 12 kB / 0.7474 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003167/0.2437, allocations: 83 kB / 0.7475 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003614/0.244, allocations: 95.83 kB / 0.7476 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.47e-05/0.244, allocations: 11.92 kB / 0.7476 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002683/0.2443, allocations: 27.97 kB / 0.7476 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.082e-05/0.2443, allocations: 16 kB / 0.7476 GB, free: 13.67 MB / 0.5762 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.0002086/0.2445, allocations: 177.6 kB / 0.7478 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.431e-05/0.2446, allocations: 43.72 kB / 0.7478 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009735/0.2456, allocations: 468.5 kB / 0.7483 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.124e-06/0.2456, allocations: 4 kB / 0.7483 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.2456, allocations: 0 / 0.7483 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.2456, allocations: 0 / 0.7483 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001585/0.2472, allocations: 0.9277 MB / 0.7492 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.179e-06/0.2472, allocations: 3.984 kB / 0.7492 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002506/0.2474, allocations: 51.91 kB / 0.7493 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002451/0.2477, allocations: 86.59 kB / 0.7493 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.095e-05/0.2477, allocations: 4 kB / 0.7493 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.416e-06/0.2477, allocations: 11.88 kB / 0.7493 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.2477, allocations: 0 / 0.7493 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008792/0.2486, allocations: 0.5469 MB / 0.7499 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001472/0.2488, allocations: 59.73 kB / 0.7499 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.135e-05/0.2488, allocations: 7.938 kB / 0.7499 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002232/0.249, allocations: 27.91 kB / 0.75 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.687e-05/0.2491, allocations: 23.95 kB / 0.75 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.056e-05/0.2491, allocations: 8 kB / 0.75 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002585/0.2494, allocations: 235.2 kB / 0.7502 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.2494, allocations: 0 / 0.7502 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004418/0.2498, allocations: 88 kB / 0.7503 GB, free: 10.79 MB / 0.5762 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.001226/0.251, allocations: 1.088 MB / 0.7514 GB, free: 9.648 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008965/0.2519, allocations: 403.3 kB / 0.7518 GB, free: 9.246 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.2519, allocations: 4 kB / 0.7518 GB, free: 9.242 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003937/0.2523, allocations: 204.3 kB / 0.752 GB, free: 9.035 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007545/0.2531, allocations: 130.5 kB / 0.7521 GB, free: 8.91 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005426/0.2585, allocations: 3.724 MB / 0.7557 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005139/0.259, allocations: 0.8269 MB / 0.7565 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003248/0.2594, allocations: 79.36 kB / 0.7566 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002084/0.2596, allocations: 127.4 kB / 0.7567 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of SimCode: time 1.253e-06/0.2596, allocations: 0 / 0.7567 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4087/0.6682, allocations: 8.673 MB / 0.7652 GB, free: 34.86 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/12.48, allocations: 8.656 kB / 0.7652 GB, free: 34.86 MB / 0.5762 GB " [Timeout remaining time 647] (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 os._exit(0), Time elapsed: 16.445504589995835] Failed to read output from testmodel.py, exit status != 0: 12.644817712018266 12.659678468 12.427283209 Calling exit ...