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.001342/0.001342, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001667/0.001667, allocations: 213.8 kB / 22.99 MB, free: 4.609 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.539/1.539, allocations: 230.6 MB / 256.8 MB, free: 7.777 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.011/1.011, allocations: 149.9 MB / 463 MB, free: 10.32 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.002119/0.002119, allocations: 67.11 kB / 0.6411 GB, free: 10.11 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1994/0.2015, allocations: 89.18 MB / 0.7282 GB, free: 1 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.005817/0.2073, allocations: 3.602 MB / 0.7317 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003374/0.2107, allocations: 1.758 MB / 0.7334 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002171/0.2109, allocations: 27.75 kB / 0.7334 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009851/0.2119, allocations: 262.7 kB / 0.7337 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0007234/0.2126, allocations: 310.4 kB / 0.734 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006551/0.2133, allocations: 258.5 kB / 0.7342 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007857/0.2141, allocations: 0.6051 MB / 0.7348 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000479/0.2145, allocations: 230.9 kB / 0.735 GB, free: 9.934 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004423/0.215, allocations: 251.1 kB / 0.7353 GB, free: 9.688 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000367/0.2154, allocations: 230.9 kB / 0.7355 GB, free: 9.461 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.138e-05/0.2154, allocations: 28 kB / 0.7355 GB, free: 9.434 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004851/0.2159, allocations: 251.4 kB / 0.7358 GB, free: 9.188 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000154/0.216, allocations: 127.6 kB / 0.7359 GB, free: 9.062 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001818/0.2162, allocations: 163.2 kB / 0.736 GB, free: 8.902 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0007492/0.217, allocations: 0.5953 MB / 0.7366 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/0.217, allocations: 4 kB / 0.7366 GB, free: 8.301 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.074e-06/0.217, allocations: 0 / 0.7366 GB, free: 8.301 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.376e-05/0.217, allocations: 0 / 0.7366 GB, free: 8.301 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.001362/0.2184, allocations: 0.6797 MB / 0.7373 GB, free: 7.59 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.098e-05/0.2184, allocations: 12.03 kB / 0.7373 GB, free: 7.578 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.919e-05/0.2185, allocations: 66.72 kB / 0.7374 GB, free: 7.504 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009126/0.2194, allocations: 136.5 kB / 0.7375 GB, free: 7.371 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006542/0.2201, allocations: 345.3 kB / 0.7378 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.579e-05/0.2201, allocations: 25.02 kB / 0.7378 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.546e-05/0.2202, allocations: 32.36 kB / 0.7379 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009488/0.2211, allocations: 0.63 MB / 0.7385 GB, free: 6.23 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.254e-05/0.2211, allocations: 7.953 kB / 0.7385 GB, free: 6.223 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.924e-05/0.2212, allocations: 15.98 kB / 0.7385 GB, free: 6.207 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.436e-05/0.2213, allocations: 40.62 kB / 0.7385 GB, free: 6.164 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007574/0.222, allocations: 410.1 kB / 0.7389 GB, free: 5.766 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003122/0.2251, allocations: 2.749 MB / 0.7416 GB, free: 2.891 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007052/0.2258, allocations: 310.5 kB / 0.7419 GB, free: 2.578 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003342/0.2262, allocations: 164.8 kB / 0.7421 GB, free: 2.414 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/0.2262, allocations: 3.938 kB / 0.7421 GB, free: 2.41 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.46e-05/0.2262, allocations: 34.56 kB / 0.7421 GB, free: 2.367 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=26): time 1.744e-06/0.2262, allocations: 0 / 0.7421 GB, free: 2.367 MB / 0.5606 GB Notification: Performance of matching and sorting (n=27): time 0.002158/0.2284, allocations: 0.8413 MB / 0.7429 GB, free: 1.512 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.922e-05/0.2284, allocations: 59.62 kB / 0.743 GB, free: 1.441 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004117/0.2289, allocations: 349.5 kB / 0.7433 GB, free: 1.09 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.067e-05/0.2289, allocations: 29.7 kB / 0.7434 GB, free: 1.055 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001996/0.2291, allocations: 248.2 kB / 0.7436 GB, free: 0.8086 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.585e-05/0.2292, allocations: 99.11 kB / 0.7437 GB, free: 0.7109 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001283/0.2293, allocations: 82.08 kB / 0.7438 GB, free: 0.625 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001754/0.2295, allocations: 350.8 kB / 0.7441 GB, free: 280 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002902/0.2298, allocations: 144.8 kB / 0.7442 GB, free: 136 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004423/0.2302, allocations: 294.5 kB / 0.7445 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007207/0.2309, allocations: 486.2 kB / 0.745 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2309, allocations: 0 / 0.745 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001026/0.232, allocations: 0.558 MB / 0.7455 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.54e-05/0.232, allocations: 8 kB / 0.7455 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.232, allocations: 4 kB / 0.7455 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003233/0.2323, allocations: 94.44 kB / 0.7456 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003537/0.2327, allocations: 88.31 kB / 0.7457 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.96e-05/0.2327, allocations: 19.88 kB / 0.7457 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000272/0.233, allocations: 27.97 kB / 0.7458 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.379e-05/0.233, allocations: 20 kB / 0.7458 GB, free: 14.4 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.0002324/0.2332, allocations: 165.8 kB / 0.7459 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.512e-05/0.2333, allocations: 43.72 kB / 0.746 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001073/0.2344, allocations: 468.5 kB / 0.7464 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.2344, allocations: 11.94 kB / 0.7464 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.2344, allocations: 3.938 kB / 0.7464 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.2344, allocations: 0 / 0.7464 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00167/0.2361, allocations: 0.8964 MB / 0.7473 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.2361, allocations: 0 / 0.7473 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002474/0.2363, allocations: 47.95 kB / 0.7474 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00027/0.2366, allocations: 90.55 kB / 0.7474 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.021e-05/0.2366, allocations: 4 kB / 0.7474 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.2366, allocations: 3.984 kB / 0.7475 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.2366, allocations: 0 / 0.7475 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009125/0.2375, allocations: 0.543 MB / 0.748 GB, free: 12 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001944/0.2377, allocations: 59.73 kB / 0.748 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.096e-05/0.2378, allocations: 7.984 kB / 0.748 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000226/0.238, allocations: 23.92 kB / 0.7481 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.603e-05/0.2381, allocations: 31.89 kB / 0.7481 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.016e-05/0.2382, allocations: 12 kB / 0.7481 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002867/0.2384, allocations: 235.2 kB / 0.7483 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.2384, allocations: 0 / 0.7483 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004706/0.2389, allocations: 88 kB / 0.7484 GB, free: 11.56 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.001241/0.2402, allocations: 1.088 MB / 0.7495 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008701/0.241, allocations: 406.1 kB / 0.7499 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.241, allocations: 0 / 0.7499 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003798/0.2414, allocations: 194.6 kB / 0.7501 GB, free: 9.82 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000765/0.2422, allocations: 128.4 kB / 0.7502 GB, free: 9.695 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005323/0.2475, allocations: 3.724 MB / 0.7538 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002594/0.2478, allocations: 227.7 kB / 0.754 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003063/0.2481, allocations: 83.36 kB / 0.7541 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002114/0.2483, allocations: 131.4 kB / 0.7542 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of SimCode: time 1.102e-06/0.2483, allocations: 3.938 kB / 0.7542 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.382/0.6303, allocations: 9.334 MB / 0.7634 GB, free: 34.85 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.8/12.44, allocations: 5.25 kB / 0.7634 GB, free: 34.85 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 sys.exit(0), Time elapsed: 16.357496787793934] Failed to read output from testmodel.py, exit status != 0: 12.552741104736924 12.575236014 12.353673933 Calling exit ...