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.00134/0.00134, 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.001387/0.001387, allocations: 217.6 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.477/1.477, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.9623/0.9623, 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.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.002133/0.002133, allocations: 65.7 kB / 0.6413 GB, free: 10.35 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1857/0.1878, allocations: 89.17 MB / 0.7283 GB, free: 1.25 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.005756/0.1936, allocations: 3.86 MB / 0.7321 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003265/0.1968, allocations: 1.886 MB / 0.734 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002877/0.1971, allocations: 23.75 kB / 0.734 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009695/0.1981, allocations: 282.6 kB / 0.7343 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0007597/0.1989, allocations: 310.5 kB / 0.7346 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006564/0.1995, allocations: 258 kB / 0.7348 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007778/0.2003, allocations: 0.6052 MB / 0.7354 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004134/0.2007, allocations: 234.7 kB / 0.7356 GB, free: 9.777 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000411/0.2011, allocations: 247.1 kB / 0.7358 GB, free: 9.535 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003751/0.2015, allocations: 254.9 kB / 0.7361 GB, free: 9.285 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.664e-05/0.2015, allocations: 28 kB / 0.7361 GB, free: 9.258 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004945/0.202, allocations: 275.4 kB / 0.7364 GB, free: 8.988 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001423/0.2022, allocations: 127.6 kB / 0.7365 GB, free: 8.863 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002029/0.2024, allocations: 210.9 kB / 0.7367 GB, free: 8.656 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0007367/0.2031, allocations: 0.5875 MB / 0.7373 GB, free: 8.066 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.2031, allocations: 4 kB / 0.7373 GB, free: 8.062 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.362e-06/0.2031, allocations: 0 / 0.7373 GB, free: 8.062 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.647e-06/0.2031, allocations: 0 / 0.7373 GB, free: 8.062 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.001311/0.2044, allocations: 0.6759 MB / 0.7379 GB, free: 7.355 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.2045, allocations: 8.031 kB / 0.7379 GB, free: 7.348 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.118e-05/0.2046, allocations: 66.72 kB / 0.738 GB, free: 7.273 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008923/0.2055, allocations: 132.5 kB / 0.7381 GB, free: 7.145 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006146/0.2061, allocations: 349.3 kB / 0.7385 GB, free: 6.777 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.508e-05/0.2061, allocations: 25.02 kB / 0.7385 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.946e-05/0.2062, allocations: 28.38 kB / 0.7385 GB, free: 6.727 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008713/0.207, allocations: 0.5586 MB / 0.7391 GB, free: 6.094 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.072e-05/0.2071, allocations: 3.953 kB / 0.7391 GB, free: 6.09 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.744e-05/0.2071, allocations: 15.98 kB / 0.7391 GB, free: 6.074 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.817e-05/0.2072, allocations: 44.62 kB / 0.7391 GB, free: 6.027 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007363/0.2079, allocations: 410.1 kB / 0.7395 GB, free: 5.629 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003147/0.2111, allocations: 3.263 MB / 0.7427 GB, free: 2.129 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006586/0.2117, allocations: 314.5 kB / 0.743 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003274/0.212, allocations: 164.7 kB / 0.7432 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.459e-05/0.2121, allocations: 0 / 0.7432 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.275e-05/0.2121, allocations: 42.5 kB / 0.7432 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=26): time 1.112e-06/0.2121, allocations: 0 / 0.7432 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of matching and sorting (n=27): time 0.002002/0.2141, allocations: 0.8405 MB / 0.744 GB, free: 0.7422 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.358e-05/0.2142, allocations: 55.64 kB / 0.7441 GB, free: 0.6758 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003732/0.2145, allocations: 345.6 kB / 0.7444 GB, free: 336 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.067e-05/0.2146, allocations: 33.64 kB / 0.7444 GB, free: 296 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001943/0.2148, allocations: 252.1 kB / 0.7447 GB, free: 40 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001054/0.2149, allocations: 99.34 kB / 0.7448 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/0.215, allocations: 78.09 kB / 0.7448 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.2151, allocations: 342.8 kB / 0.7452 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000283/0.2154, allocations: 148.8 kB / 0.7453 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004058/0.2158, allocations: 302.5 kB / 0.7456 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007108/0.2165, allocations: 474.3 kB / 0.7461 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.2165, allocations: 0 / 0.7461 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001041/0.2176, allocations: 0.5697 MB / 0.7466 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.342e-05/0.2176, allocations: 8 kB / 0.7466 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/0.2176, allocations: 4 kB / 0.7466 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003458/0.218, allocations: 86.45 kB / 0.7467 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003576/0.2183, allocations: 87.88 kB / 0.7468 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.789e-05/0.2183, allocations: 16.09 kB / 0.7468 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000265/0.2186, allocations: 31.97 kB / 0.7468 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.91e-05/0.2186, allocations: 16 kB / 0.7469 GB, free: 13.64 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.0002266/0.2189, allocations: 173.7 kB / 0.747 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.43e-05/0.2189, allocations: 43.72 kB / 0.7471 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009506/0.2199, allocations: 472.5 kB / 0.7475 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.2199, allocations: 0 / 0.7475 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.2199, allocations: 4 kB / 0.7475 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.2199, allocations: 3.984 kB / 0.7475 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00156/0.2215, allocations: 0.9276 MB / 0.7484 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.2215, allocations: 4 kB / 0.7484 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000233/0.2217, allocations: 51.95 kB / 0.7485 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000234/0.2219, allocations: 82.45 kB / 0.7486 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.225e-05/0.222, allocations: 8 kB / 0.7486 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.369e-06/0.222, allocations: 8.078 kB / 0.7486 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.015e-06/0.222, allocations: 4 kB / 0.7486 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008418/0.2228, allocations: 0.5391 MB / 0.7491 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001496/0.223, allocations: 59.73 kB / 0.7492 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.827e-05/0.223, allocations: 7.984 kB / 0.7492 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002111/0.2232, allocations: 19.92 kB / 0.7492 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.011e-05/0.2233, allocations: 27.95 kB / 0.7492 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.2233, allocations: 7.938 kB / 0.7492 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002698/0.2236, allocations: 247.1 kB / 0.7495 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.2236, allocations: 0 / 0.7495 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004267/0.224, allocations: 87.94 kB / 0.7495 GB, free: 10.76 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.001204/0.2252, allocations: 1.093 MB / 0.7506 GB, free: 9.617 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008059/0.226, allocations: 403.8 kB / 0.751 GB, free: 9.215 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.226, allocations: 0 / 0.751 GB, free: 9.215 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003618/0.2264, allocations: 200.1 kB / 0.7512 GB, free: 9.012 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006747/0.227, allocations: 128.9 kB / 0.7513 GB, free: 8.895 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005114/0.2322, allocations: 3.728 MB / 0.7549 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004546/0.2326, allocations: 0.8308 MB / 0.7558 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002456/0.2329, allocations: 83.3 kB / 0.7558 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001857/0.233, allocations: 127.4 kB / 0.756 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of SimCode: time 6.21e-07/0.233, allocations: 0 / 0.756 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3816/0.6147, allocations: 8.638 MB / 0.7644 GB, free: 35.14 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.8/12.41, allocations: 3.938 kB / 0.7644 GB, free: 35.14 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_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_VariableImpedance.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.301134073997673] Failed to read output from testmodel.py, exit status != 0: 12.529849164002371 12.545814952 12.339361283 Calling exit ...