Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.DC.Lines.Examples.Resistance.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.00126/0.00126, allocations: 101.5 kB / 18.95 MB, free: 1.184 MB / 13.93 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.0009217/0.0009217, allocations: 213.2 kB / 22.24 MB, free: 3.574 MB / 13.93 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 0.923/0.923, allocations: 230.6 MB / 256 MB, free: 9.598 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 0.8027/0.8027, allocations: 203.5 MB / 0.5039 GB, free: 10.73 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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(IDEAS.Electrical.DC.Lines.Examples.Resistance,fileNamePrefix="IDEAS_IDEAS_Electrical_DC_Lines_Examples_Resistance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.DC.Lines.Examples.Resistance,fileNamePrefix="IDEAS_IDEAS_Electrical_DC_Lines_Examples_Resistance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.001516/0.001516, allocations: 70.39 kB / 0.7178 GB, free: 4.414 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5374/0.5389, allocations: 102 MB / 0.8174 GB, free: 1.23 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.Resistance): time 0.00418/0.5431, allocations: 3.066 MB / 0.8203 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002036/0.5452, allocations: 1.318 MB / 0.8216 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001346/0.5453, allocations: 14.47 kB / 0.8216 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007433/0.546, allocations: 331.4 kB / 0.822 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003627/0.5464, allocations: 145 kB / 0.8221 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003888/0.5468, allocations: 140.9 kB / 0.8222 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003898/0.5472, allocations: 306.9 kB / 0.8225 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004272/0.5476, allocations: 180 kB / 0.8227 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002149/0.5478, allocations: 133.2 kB / 0.8228 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003064/0.5481, allocations: 139.8 kB / 0.823 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.384e-05/0.5482, allocations: 19.38 kB / 0.823 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000319/0.5485, allocations: 147.1 kB / 0.8231 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001218/0.5486, allocations: 78.33 kB / 0.8232 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001572/0.5488, allocations: 89.52 kB / 0.8233 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006223/0.5494, allocations: 345.6 kB / 0.8236 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.5494, allocations: 4.609 kB / 0.8236 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.014e-06/0.5494, allocations: 0 / 0.8236 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.381e-05/0.5494, allocations: 1.438 kB / 0.8236 GB, free: 13.47 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.000879/0.5503, allocations: 453.1 kB / 0.824 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/0.5503, allocations: 10.38 kB / 0.8241 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.564e-05/0.5504, allocations: 51.72 kB / 0.8241 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005652/0.551, allocations: 78.75 kB / 0.8242 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003512/0.5513, allocations: 197.6 kB / 0.8244 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.969e-05/0.5513, allocations: 12.41 kB / 0.8244 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.55e-05/0.5514, allocations: 21.12 kB / 0.8244 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004392/0.5518, allocations: 377.5 kB / 0.8248 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.5518, allocations: 5.344 kB / 0.8248 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.098e-05/0.5518, allocations: 6.25 kB / 0.8248 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.773e-05/0.5519, allocations: 20.53 kB / 0.8248 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002839/0.5522, allocations: 196.2 kB / 0.825 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001233/0.5534, allocations: 1.032 MB / 0.826 GB, free: 11.67 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002785/0.5537, allocations: 104 kB / 0.8261 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.372e-05/0.5537, allocations: 29.58 kB / 0.8261 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.086e-05/0.5537, allocations: 1.781 kB / 0.8261 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.207e-05/0.5538, allocations: 36.88 kB / 0.8262 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.452e-06/0.5538, allocations: 4 kB / 0.8262 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0005084/0.5543, allocations: 149.8 kB / 0.8263 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.495e-05/0.5543, allocations: 52.53 kB / 0.8264 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002407/0.5546, allocations: 203.8 kB / 0.8265 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.5546, allocations: 31.27 kB / 0.8266 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/0.5547, allocations: 170.5 kB / 0.8267 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.707e-05/0.5547, allocations: 25.78 kB / 0.8268 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.758e-05/0.5548, allocations: 36.89 kB / 0.8268 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.5549, allocations: 333.6 kB / 0.8271 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.348e-05/0.555, allocations: 35.48 kB / 0.8271 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001103/0.5551, allocations: 99.7 kB / 0.8272 GB, free: 10.61 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002035/0.5553, allocations: 146.3 kB / 0.8274 GB, free: 10.49 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.5553, allocations: 0 / 0.8274 GB, free: 10.49 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00034/0.5557, allocations: 183.5 kB / 0.8276 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.5557, allocations: 5.531 kB / 0.8276 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.5557, allocations: 3.469 kB / 0.8276 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001764/0.5559, allocations: 33.86 kB / 0.8276 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.556, allocations: 29.3 kB / 0.8276 GB, free: 10.37 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001083/0.5571, allocations: 1.308 MB / 0.8289 GB, free: 9.082 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001671/0.5572, allocations: 21.69 kB / 0.8289 GB, free: 9.066 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.5572, allocations: 7.531 kB / 0.8289 GB, free: 9.066 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (17): * Single equations (assignments): 16 * 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.0001578/0.5574, allocations: 151.6 kB / 0.8291 GB, free: 8.93 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.071e-05/0.5574, allocations: 21.84 kB / 0.8291 GB, free: 8.914 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.2e-05/0.5575, allocations: 16.02 kB / 0.8291 GB, free: 8.906 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.5575, allocations: 1.125 kB / 0.8291 GB, free: 8.906 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.289e-06/0.5575, allocations: 1.281 kB / 0.8291 GB, free: 8.906 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.5575, allocations: 0.6094 kB / 0.8291 GB, free: 8.906 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005035/0.558, allocations: 411.4 kB / 0.8295 GB, free: 8.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.558, allocations: 0.6094 kB / 0.8295 GB, free: 8.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.977e-05/0.558, allocations: 7.391 kB / 0.8295 GB, free: 8.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.576e-05/0.5581, allocations: 22.95 kB / 0.8295 GB, free: 8.559 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.5581, allocations: 9.859 kB / 0.8295 GB, free: 8.551 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007717/0.5589, allocations: 1.308 MB / 0.8308 GB, free: 7.262 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.5589, allocations: 4 kB / 0.8308 GB, free: 7.258 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001734/0.559, allocations: 216.4 kB / 0.831 GB, free: 7.082 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.913e-05/0.5591, allocations: 21.23 kB / 0.8311 GB, free: 7.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.869e-06/0.5591, allocations: 1.438 kB / 0.8311 GB, free: 7.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.911e-05/0.5592, allocations: 7.969 kB / 0.8311 GB, free: 7.066 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.407e-05/0.5592, allocations: 9.625 kB / 0.8311 GB, free: 7.062 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.483e-06/0.5592, allocations: 2.719 kB / 0.8311 GB, free: 7.062 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000101/0.5593, allocations: 146.8 kB / 0.8312 GB, free: 6.965 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.1e-08/0.5593, allocations: 1.438 kB / 0.8312 GB, free: 6.965 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002363/0.5595, allocations: 51.86 kB / 0.8313 GB, free: 6.953 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 5 * 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.0003685/0.5599, allocations: 0.745 MB / 0.832 GB, free: 6.246 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003334/0.5602, allocations: 206.4 kB / 0.8322 GB, free: 6.102 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.5602, allocations: 0 / 0.8322 GB, free: 6.102 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.956e-05/0.5603, allocations: 140 kB / 0.8323 GB, free: 5.984 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002762/0.5606, allocations: 36.56 kB / 0.8324 GB, free: 5.973 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00191/0.5625, allocations: 2.06 MB / 0.8344 GB, free: 4.332 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001488/0.5627, allocations: 140 kB / 0.8345 GB, free: 4.25 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.57e-05/0.5627, allocations: 21.44 kB / 0.8345 GB, free: 4.246 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.74e-05/0.5628, allocations: 51.58 kB / 0.8346 GB, free: 4.207 MB / 0.6198 GB Notification: Performance of SimCode: time 1.282e-06/0.5628, allocations: 0 / 0.8346 GB, free: 4.207 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02341/0.5862, allocations: 4.362 MB / 0.8388 GB, free: 3.117 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.816/7.402, allocations: 12 kB / 0.8388 GB, free: 3.113 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo IDEAS_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/IDEAS_IDEAS.Electrical.DC.Lines.Examples.Resistance.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Electrical.DC.Lines.Examples.Resistance_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Electrical_DC_Lines_Examples_Resistance.fmu > IDEAS_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.39188582310453] Failed to read output from testmodel.py, exit status != 0: 7.484315511304885 7.494180868 6.94278478 Calling exit ...