Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001557/0.001557, allocations: 104.8 kB / 16.4 MB, free: 6.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001583/0.001583, allocations: 192.6 kB / 19.36 MB, free: 3.727 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 222.9 MB / 245.1 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.113/1.113, allocations: 173.4 MB / 470.7 MB, free: 13.59 MB / 382.1 MB " [Timeout remaining time 178] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Electrical.DC.Loads.Examples.Resistor,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_DC_Loads_Examples_Resistor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.DC.Loads.Examples.Resistor,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_DC_Loads_Examples_Resistor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003055/0.003055, allocations: 71.36 kB / 0.6478 GB, free: 11.75 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2137/0.2168, allocations: 89.52 MB / 0.7352 GB, free: 2.242 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Loads.Examples.Resistor): time 0.005898/0.2228, allocations: 3.834 MB / 0.739 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002884/0.2257, allocations: 1.729 MB / 0.7407 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001378/0.2258, allocations: 4 kB / 0.7407 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001343/0.2272, allocations: 498.1 kB / 0.7411 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005292/0.2278, allocations: 222.9 kB / 0.7414 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005388/0.2283, allocations: 219.5 kB / 0.7416 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005594/0.2289, allocations: 470.4 kB / 0.742 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005994/0.2295, allocations: 361.2 kB / 0.7424 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000238/0.2297, allocations: 195.4 kB / 0.7425 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003902/0.2301, allocations: 211.2 kB / 0.7427 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.402e-05/0.2302, allocations: 28 kB / 0.7428 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004634/0.2307, allocations: 243.4 kB / 0.743 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001433/0.2308, allocations: 123.7 kB / 0.7431 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001894/0.231, allocations: 171.2 kB / 0.7433 GB, free: 9.957 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006696/0.2317, allocations: 0.5098 MB / 0.7438 GB, free: 9.445 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2317, allocations: 0 / 0.7438 GB, free: 9.445 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.402e-06/0.2317, allocations: 4 kB / 0.7438 GB, free: 9.441 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.2317, allocations: 0 / 0.7438 GB, free: 9.441 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001078/0.2328, allocations: 0.6426 MB / 0.7444 GB, free: 8.746 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.2329, allocations: 8.031 kB / 0.7444 GB, free: 8.738 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.942e-05/0.233, allocations: 74.64 kB / 0.7445 GB, free: 8.656 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009123/0.2339, allocations: 144.6 kB / 0.7446 GB, free: 8.516 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004032/0.2343, allocations: 295.8 kB / 0.7449 GB, free: 8.188 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.385e-05/0.2343, allocations: 21.03 kB / 0.7449 GB, free: 8.168 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.676e-05/0.2344, allocations: 24.38 kB / 0.745 GB, free: 8.145 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006866/0.2351, allocations: 467.7 kB / 0.7454 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.2351, allocations: 0 / 0.7454 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.632e-05/0.2351, allocations: 12 kB / 0.7454 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.337e-05/0.2352, allocations: 36.48 kB / 0.7455 GB, free: 7.605 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005172/0.2357, allocations: 321.9 kB / 0.7458 GB, free: 7.289 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002447/0.2382, allocations: 2.178 MB / 0.7479 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004683/0.2387, allocations: 258.6 kB / 0.7481 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002353/0.2389, allocations: 104.8 kB / 0.7482 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.58e-05/0.2389, allocations: 8 kB / 0.7482 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.879e-05/0.239, allocations: 30.56 kB / 0.7483 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=14): time 1.413e-06/0.239, allocations: 0 / 0.7483 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14): time 0.0007382/0.2397, allocations: 303.6 kB / 0.7486 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.622e-05/0.2398, allocations: 55.39 kB / 0.7486 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003086/0.2401, allocations: 266.6 kB / 0.7489 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.246e-05/0.2401, allocations: 33.64 kB / 0.7489 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001493/0.2403, allocations: 208.3 kB / 0.7491 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.385e-05/0.2403, allocations: 55.52 kB / 0.7491 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.322e-05/0.2404, allocations: 53.89 kB / 0.7492 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.2406, allocations: 330.8 kB / 0.7495 GB, free: 3.113 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001083/0.2407, allocations: 60.44 kB / 0.7496 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002256/0.2409, allocations: 141.9 kB / 0.7497 GB, free: 2.879 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003013/0.2413, allocations: 222.9 kB / 0.7499 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.2413, allocations: 0 / 0.7499 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004479/0.2417, allocations: 272.5 kB / 0.7502 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.2417, allocations: 6.031 kB / 0.7502 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.844e-06/0.2418, allocations: 4.375 kB / 0.7502 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000169/0.2419, allocations: 32.84 kB / 0.7502 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001787/0.2421, allocations: 47.91 kB / 0.7503 GB, free: 2.258 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001244/0.2434, allocations: 1.418 MB / 0.7517 GB, free: 0.7031 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002236/0.2436, allocations: 27.78 kB / 0.7517 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.274e-05/0.2437, allocations: 16 kB / 0.7517 GB, free: 0.6602 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001895/0.2439, allocations: 177.2 kB / 0.7519 GB, free: 492 kB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.909e-05/0.2439, allocations: 23.95 kB / 0.7519 GB, free: 468 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.735e-05/0.244, allocations: 29.77 kB / 0.7519 GB, free: 436 kB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.828e-06/0.244, allocations: 4 kB / 0.7519 GB, free: 432 kB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.244, allocations: 64 / 0.7519 GB, free: 432 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.244, allocations: 4 kB / 0.7519 GB, free: 428 kB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3464/0.5904, allocations: 0.6984 MB / 0.7526 GB, free: 18.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.5905, allocations: 2.625 kB / 0.7526 GB, free: 18.27 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001074/0.5906, allocations: 26.89 kB / 0.7526 GB, free: 18.27 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000117/0.5907, allocations: 26.73 kB / 0.7527 GB, free: 18.26 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.576e-05/0.5907, allocations: 6.031 kB / 0.7527 GB, free: 18.26 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008322/0.5916, allocations: 1.41 MB / 0.754 GB, free: 16.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.5916, allocations: 2.969 kB / 0.754 GB, free: 16.93 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003624/0.592, allocations: 318.4 kB / 0.7543 GB, free: 16.75 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000109/0.5921, allocations: 117.3 kB / 0.7545 GB, free: 16.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.048e-05/0.5921, allocations: 4.531 kB / 0.7545 GB, free: 16.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001646/0.5923, allocations: 13.28 kB / 0.7545 GB, free: 16.66 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.332e-05/0.5923, allocations: 20.59 kB / 0.7545 GB, free: 16.65 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.401e-05/0.5924, allocations: 9.484 kB / 0.7545 GB, free: 16.65 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001879/0.5925, allocations: 190.1 kB / 0.7547 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5926, allocations: 2.219 kB / 0.7547 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004535/0.593, allocations: 78.73 kB / 0.7548 GB, free: 16.57 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005008/0.5935, allocations: 0.8498 MB / 0.7556 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004662/0.594, allocations: 271.6 kB / 0.7559 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.594, allocations: 0.9375 kB / 0.7559 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001955/0.5942, allocations: 185.4 kB / 0.756 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004743/0.5947, allocations: 61.28 kB / 0.7561 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002579/0.5973, allocations: 2.708 MB / 0.7587 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002337/0.5975, allocations: 0.7963 MB / 0.7595 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001429/0.5977, allocations: 42.08 kB / 0.7595 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001021/0.5978, allocations: 89.52 kB / 0.7596 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of SimCode: time 2.9e-07/0.5978, allocations: 0 / 0.7596 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03105/0.6289, allocations: 5.381 MB / 0.7649 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.559/10.19, allocations: 13.5 kB / 0.7649 GB, free: 12.72 MB / 0.5762 GB " [Timeout remaining time 650] (rm -f IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Electrical_DC_Loads_Examples_Resistor.fmu > IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.166201313957572] Failed to read output from testmodel.py, exit status != 0: 10.274925597012043 10.295041186 10.059577142 Calling exit ...