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.001288/0.001288, allocations: 109.7 kB / 17.12 MB, free: 5.926 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.001419/0.001419, allocations: 204 kB / 20.09 MB, free: 2.977 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.552/1.552, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.9901/0.9901, allocations: 150 MB / 459.5 MB, free: 5.32 MB / 350.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.002174/0.002174, allocations: 66.69 kB / 0.6361 GB, free: 30.6 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1747/0.1768, allocations: 89.14 MB / 0.7232 GB, free: 4.191 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.00614/0.183, allocations: 3.793 MB / 0.7269 GB, free: 388 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003565/0.1865, allocations: 1.836 MB / 0.7287 GB, free: 14.54 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003688/0.1869, allocations: 27.75 kB / 0.7287 GB, free: 14.51 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001022/0.1879, allocations: 273.2 kB / 0.7289 GB, free: 14.24 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0008085/0.1887, allocations: 310.4 kB / 0.7292 GB, free: 13.94 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006475/0.1894, allocations: 251.5 kB / 0.7295 GB, free: 13.69 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0008908/0.1903, allocations: 0.6088 MB / 0.7301 GB, free: 13.08 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005335/0.1908, allocations: 218.8 kB / 0.7303 GB, free: 12.86 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005401/0.1913, allocations: 243.1 kB / 0.7305 GB, free: 12.62 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004417/0.1918, allocations: 242.9 kB / 0.7307 GB, free: 12.38 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.008e-05/0.1919, allocations: 32 kB / 0.7308 GB, free: 12.35 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006046/0.1925, allocations: 287.4 kB / 0.7311 GB, free: 12.07 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001736/0.1926, allocations: 127.6 kB / 0.7312 GB, free: 11.94 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002321/0.1929, allocations: 202.9 kB / 0.7314 GB, free: 11.74 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0008714/0.1937, allocations: 0.5875 MB / 0.7319 GB, free: 11.15 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.1937, allocations: 0 / 0.7319 GB, free: 11.15 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1937, allocations: 0 / 0.7319 GB, free: 11.15 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.366e-05/0.1938, allocations: 0 / 0.7319 GB, free: 11.15 MB / 0.545 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.001616/0.1954, allocations: 0.7608 MB / 0.7327 GB, free: 10.34 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.1954, allocations: 12.03 kB / 0.7327 GB, free: 10.33 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.481e-05/0.1955, allocations: 70.72 kB / 0.7328 GB, free: 10.25 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009876/0.1965, allocations: 132.5 kB / 0.7329 GB, free: 10.12 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006994/0.1972, allocations: 415.9 kB / 0.7333 GB, free: 9.684 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.946e-05/0.1972, allocations: 21.03 kB / 0.7333 GB, free: 9.664 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.617e-05/0.1973, allocations: 36.31 kB / 0.7333 GB, free: 9.629 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000995/0.1983, allocations: 0.547 MB / 0.7339 GB, free: 9.004 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.387e-05/0.1983, allocations: 3.938 kB / 0.7339 GB, free: 9 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.609e-05/0.1984, allocations: 19.98 kB / 0.7339 GB, free: 8.98 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.85e-05/0.1985, allocations: 40.53 kB / 0.7339 GB, free: 8.941 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008506/0.1993, allocations: 409.7 kB / 0.7343 GB, free: 8.539 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003466/0.2028, allocations: 3.342 MB / 0.7376 GB, free: 4.949 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007225/0.2035, allocations: 302.5 kB / 0.7379 GB, free: 4.645 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003327/0.2038, allocations: 161.6 kB / 0.738 GB, free: 4.484 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.12e-05/0.2039, allocations: 8 kB / 0.738 GB, free: 4.477 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.2039, allocations: 30.56 kB / 0.7381 GB, free: 4.438 MB / 0.545 GB Notification: Performance of pre-optimization done (n=26): time 1.984e-06/0.2039, allocations: 3.938 kB / 0.7381 GB, free: 4.434 MB / 0.545 GB Notification: Performance of matching and sorting (n=27): time 0.002475/0.2064, allocations: 1.063 MB / 0.7391 GB, free: 3.297 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.15e-05/0.2064, allocations: 59.58 kB / 0.7392 GB, free: 3.227 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004109/0.2068, allocations: 345.6 kB / 0.7395 GB, free: 2.883 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.078e-05/0.2069, allocations: 33.7 kB / 0.7395 GB, free: 2.844 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000204/0.2071, allocations: 244.2 kB / 0.7398 GB, free: 2.602 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001034/0.2072, allocations: 103.1 kB / 0.7399 GB, free: 2.5 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001297/0.2073, allocations: 82.08 kB / 0.7399 GB, free: 2.414 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001901/0.2075, allocations: 342.8 kB / 0.7403 GB, free: 2.07 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003296/0.2078, allocations: 148.8 kB / 0.7404 GB, free: 1.926 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004484/0.2083, allocations: 294.5 kB / 0.7407 GB, free: 1.57 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007907/0.2091, allocations: 480.6 kB / 0.7411 GB, free: 1.039 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.2091, allocations: 0 / 0.7411 GB, free: 1.039 MB / 0.545 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001144/0.2102, allocations: 0.5663 MB / 0.7417 GB, free: 468 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.759e-05/0.2102, allocations: 12.12 kB / 0.7417 GB, free: 456 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.2102, allocations: 4 kB / 0.7417 GB, free: 452 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000366/0.2106, allocations: 86.5 kB / 0.7418 GB, free: 356 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003684/0.211, allocations: 91.81 kB / 0.7419 GB, free: 264 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.875e-05/0.211, allocations: 15.88 kB / 0.7419 GB, free: 248 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003041/0.2113, allocations: 31.97 kB / 0.7419 GB, free: 216 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.78e-05/0.2113, allocations: 20 kB / 0.742 GB, free: 196 kB / 0.545 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.0002423/0.2116, allocations: 169.8 kB / 0.7421 GB, free: 16 kB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001221/0.2117, allocations: 47.75 kB / 0.7422 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009904/0.2127, allocations: 468 kB / 0.7426 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.2127, allocations: 3.938 kB / 0.7426 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.27e-05/0.2127, allocations: 4 kB / 0.7426 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.2127, allocations: 0 / 0.7426 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001612/0.2143, allocations: 0.9598 MB / 0.7436 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.229e-06/0.2143, allocations: 4 kB / 0.7436 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002491/0.2146, allocations: 47.95 kB / 0.7436 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002592/0.2148, allocations: 82.45 kB / 0.7437 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.595e-05/0.2149, allocations: 8 kB / 0.7437 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.2149, allocations: 0 / 0.7437 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.2149, allocations: 3.984 kB / 0.7437 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009377/0.2158, allocations: 0.5431 MB / 0.7442 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001746/0.216, allocations: 136.8 kB / 0.7444 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.196e-05/0.216, allocations: 12 kB / 0.7444 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002317/0.2163, allocations: 23.91 kB / 0.7444 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.108e-05/0.2163, allocations: 23.97 kB / 0.7444 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.59e-05/0.2164, allocations: 4 kB / 0.7444 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002632/0.2166, allocations: 235.2 kB / 0.7446 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2166, allocations: 0 / 0.7446 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004426/0.2171, allocations: 88 kB / 0.7447 GB, free: 13.2 MB / 0.5606 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.001213/0.2183, allocations: 1.109 MB / 0.7458 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009659/0.2193, allocations: 0.6118 MB / 0.7464 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.2193, allocations: 4.125 kB / 0.7464 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005181/0.2198, allocations: 421.6 kB / 0.7468 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007107/0.2205, allocations: 127.4 kB / 0.7469 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005192/0.2257, allocations: 3.727 MB / 0.7506 GB, free: 6.805 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004648/0.2261, allocations: 0.8269 MB / 0.7514 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002512/0.2264, allocations: 79.34 kB / 0.7515 GB, free: 5.871 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000196/0.2266, allocations: 131.4 kB / 0.7516 GB, free: 5.746 MB / 0.5606 GB Notification: Performance of SimCode: time 6.41e-07/0.2266, allocations: 4 kB / 0.7516 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03512/0.2617, allocations: 8.349 MB / 0.7597 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.36/10.62, allocations: 4.578 kB / 0.7597 GB, free: 13.63 MB / 0.5762 GB " [Timeout remaining time 649] (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: 14.834183325059712] Failed to read output from testmodel.py, exit status != 0: 10.707517102826387 10.726954095 10.529094742 Calling exit ...