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.001362/0.001362, 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.001464/0.001464, allocations: 219 kB / 23 MB, free: 5.004 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.591/1.591, allocations: 230.6 MB / 256.8 MB, free: 7.949 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.9686/0.9686, allocations: 150 MB / 463.2 MB, free: 10.49 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="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: 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.002059/0.002059, allocations: 61.38 kB / 0.6413 GB, free: 10.4 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2081/0.2102, allocations: 89.17 MB / 0.7284 GB, free: 1.297 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.005659/0.2158, allocations: 3.866 MB / 0.7321 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003128/0.219, allocations: 1.878 MB / 0.734 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002058/0.2192, allocations: 19.81 kB / 0.734 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009006/0.2201, allocations: 282.6 kB / 0.7342 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0006883/0.2207, allocations: 310.5 kB / 0.7345 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006065/0.2214, allocations: 259.4 kB / 0.7348 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007181/0.2221, allocations: 0.6013 MB / 0.7354 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004146/0.2225, allocations: 234.8 kB / 0.7356 GB, free: 9.828 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003948/0.2229, allocations: 251 kB / 0.7358 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003556/0.2232, allocations: 242.9 kB / 0.7361 GB, free: 9.344 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.757e-05/0.2233, allocations: 32 kB / 0.7361 GB, free: 9.312 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004676/0.2238, allocations: 283.4 kB / 0.7364 GB, free: 9.035 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001433/0.2239, allocations: 127.6 kB / 0.7365 GB, free: 8.91 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002122/0.2241, allocations: 206.8 kB / 0.7367 GB, free: 8.707 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0007277/0.2248, allocations: 0.5914 MB / 0.7373 GB, free: 8.113 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.2248, allocations: 0 / 0.7373 GB, free: 8.113 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2248, allocations: 0 / 0.7373 GB, free: 8.113 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.714e-06/0.2248, allocations: 0 / 0.7373 GB, free: 8.113 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.001242/0.2261, allocations: 0.672 MB / 0.7379 GB, free: 7.41 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.2261, allocations: 15.97 kB / 0.7379 GB, free: 7.395 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.604e-05/0.2262, allocations: 70.72 kB / 0.738 GB, free: 7.316 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008672/0.2271, allocations: 132.5 kB / 0.7381 GB, free: 7.188 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005913/0.2277, allocations: 349.3 kB / 0.7385 GB, free: 6.82 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.705e-05/0.2277, allocations: 21.03 kB / 0.7385 GB, free: 6.801 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.695e-05/0.2278, allocations: 32.36 kB / 0.7385 GB, free: 6.77 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008794/0.2286, allocations: 0.5516 MB / 0.7391 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.514e-05/0.2287, allocations: 11.89 kB / 0.7391 GB, free: 6.133 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.446e-05/0.2287, allocations: 12 kB / 0.7391 GB, free: 6.121 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.171e-05/0.2288, allocations: 40.62 kB / 0.7391 GB, free: 6.078 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007217/0.2295, allocations: 410.1 kB / 0.7395 GB, free: 5.68 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003153/0.2326, allocations: 3.271 MB / 0.7427 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006816/0.2333, allocations: 310.5 kB / 0.743 GB, free: 1.859 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002995/0.2336, allocations: 164.7 kB / 0.7432 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.592e-05/0.2337, allocations: 4 kB / 0.7432 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.85e-05/0.2337, allocations: 34.56 kB / 0.7432 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=26): time 2.224e-06/0.2337, allocations: 0 / 0.7432 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of matching and sorting (n=27): time 0.00195/0.2356, allocations: 0.8443 MB / 0.744 GB, free: 0.7891 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.56e-05/0.2357, allocations: 55.62 kB / 0.7441 GB, free: 0.7227 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003609/0.236, allocations: 345.6 kB / 0.7444 GB, free: 384 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.777e-05/0.2361, allocations: 33.7 kB / 0.7444 GB, free: 344 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002124/0.2363, allocations: 248.1 kB / 0.7447 GB, free: 92 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001096/0.2364, allocations: 103.3 kB / 0.7448 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001211/0.2365, allocations: 82.08 kB / 0.7448 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001689/0.2367, allocations: 342.8 kB / 0.7452 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000293/0.237, allocations: 148.8 kB / 0.7453 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003845/0.2374, allocations: 298.5 kB / 0.7456 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000698/0.2381, allocations: 482.3 kB / 0.7461 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.2381, allocations: 0 / 0.7461 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001005/0.2391, allocations: 0.566 MB / 0.7466 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.2391, allocations: 8 kB / 0.7466 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/0.2391, allocations: 7.984 kB / 0.7466 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003195/0.2394, allocations: 82.52 kB / 0.7467 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000346/0.2398, allocations: 91.81 kB / 0.7468 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.398e-05/0.2398, allocations: 7.938 kB / 0.7468 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002552/0.24, allocations: 31.97 kB / 0.7468 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.872e-05/0.2401, allocations: 16.03 kB / 0.7468 GB, free: 13.69 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.0002246/0.2403, allocations: 181.6 kB / 0.747 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.549e-05/0.2404, allocations: 43.72 kB / 0.7471 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000895/0.2413, allocations: 464.5 kB / 0.7475 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.2413, allocations: 4 kB / 0.7475 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.2413, allocations: 0 / 0.7475 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.2413, allocations: 4 kB / 0.7475 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001494/0.2428, allocations: 0.9316 MB / 0.7484 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.2428, allocations: 3.984 kB / 0.7484 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002355/0.243, allocations: 51.89 kB / 0.7485 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000233/0.2432, allocations: 82.52 kB / 0.7486 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.191e-05/0.2433, allocations: 4 kB / 0.7486 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.776e-06/0.2433, allocations: 0 / 0.7486 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.2433, allocations: 3.938 kB / 0.7486 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008932/0.2442, allocations: 0.5509 MB / 0.7491 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001508/0.2443, allocations: 55.73 kB / 0.7492 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.196e-05/0.2444, allocations: 12 kB / 0.7492 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002145/0.2446, allocations: 27.84 kB / 0.7492 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.894e-05/0.2447, allocations: 23.95 kB / 0.7492 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.2447, allocations: 8 kB / 0.7492 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002639/0.2449, allocations: 235.2 kB / 0.7494 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.2449, allocations: 0 / 0.7494 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004336/0.2454, allocations: 95.94 kB / 0.7495 GB, free: 10.8 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.001236/0.2466, allocations: 1.094 MB / 0.7506 GB, free: 9.66 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008299/0.2474, allocations: 403.9 kB / 0.751 GB, free: 9.258 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.2474, allocations: 4.062 kB / 0.751 GB, free: 9.254 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003739/0.2478, allocations: 190.3 kB / 0.7512 GB, free: 9.059 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007006/0.2485, allocations: 131.8 kB / 0.7513 GB, free: 8.938 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005042/0.2536, allocations: 3.732 MB / 0.7549 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004911/0.2541, allocations: 0.8269 MB / 0.7558 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002571/0.2543, allocations: 83.34 kB / 0.7558 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001958/0.2545, allocations: 131.4 kB / 0.756 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of SimCode: time 9.91e-07/0.2545, allocations: 0 / 0.756 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3918/0.6463, allocations: 8.642 MB / 0.7644 GB, free: 35.23 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/12.31, allocations: 9.094 kB / 0.7644 GB, free: 35.22 MB / 0.5762 GB " [Timeout remaining time 648] (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: 16.308517141034827] Failed to read output from testmodel.py, exit status != 0: 12.428802466019988 12.452986846 12.22360625 Calling exit ...