Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.0008478/0.0008478, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008864/0.0008864, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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.881/0.881, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.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.6908/0.6908, allocations: 154.6 MB / 413.8 MB, free: 0.7891 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="IDEAS_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="IDEAS_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.866e-05/1.992e-05, allocations: 4.672 kB / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002109/0.002129, allocations: 1.848 MB / 0.6199 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.00297/0.005098, allocations: 3.44 MB / 0.6233 GB, free: 8.309 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.676e-05/0.005195, allocations: 7.938 kB / 0.6233 GB, free: 8.301 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0006452/0.00584, allocations: 186 kB / 0.6235 GB, free: 8.121 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001628/0.006003, allocations: 79.39 kB / 0.6235 GB, free: 8.043 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 9.378e-05/0.006097, allocations: 59.8 kB / 0.6236 GB, free: 7.984 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0003683/0.006465, allocations: 283 kB / 0.6239 GB, free: 7.707 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.844e-05/0.006554, allocations: 21.78 kB / 0.6239 GB, free: 7.688 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001112/0.006665, allocations: 103.7 kB / 0.624 GB, free: 7.586 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 9.803e-05/0.006763, allocations: 67.8 kB / 0.624 GB, free: 7.52 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.546e-05/0.006778, allocations: 8 kB / 0.6241 GB, free: 7.512 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 6.483e-05/0.006843, allocations: 31.92 kB / 0.6241 GB, free: 7.48 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 5.624e-05/0.006899, allocations: 59.81 kB / 0.6241 GB, free: 7.422 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.669e-05/0.006946, allocations: 55.8 kB / 0.6242 GB, free: 7.367 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001894/0.007135, allocations: 207.2 kB / 0.6244 GB, free: 7.164 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.007138, allocations: 0 / 0.6244 GB, free: 7.164 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.41e-07/0.007138, allocations: 0 / 0.6244 GB, free: 7.164 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.058e-06/0.007143, allocations: 0 / 0.6244 GB, free: 7.164 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.00056/0.007703, allocations: 472.8 kB / 0.6248 GB, free: 6.672 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.007738, allocations: 12.03 kB / 0.6249 GB, free: 6.66 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.37e-05/0.007772, allocations: 42.73 kB / 0.6249 GB, free: 6.609 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001891/0.007961, allocations: 64.7 kB / 0.625 GB, free: 6.547 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002643/0.008225, allocations: 205.8 kB / 0.6252 GB, free: 6.32 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.849e-06/0.008235, allocations: 8.375 kB / 0.6252 GB, free: 6.312 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.403e-05/0.008249, allocations: 4.375 kB / 0.6252 GB, free: 6.309 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002166/0.008466, allocations: 142.1 kB / 0.6253 GB, free: 6.164 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.008473, allocations: 4.188 kB / 0.6253 GB, free: 6.16 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.008487, allocations: 7.922 kB / 0.6253 GB, free: 6.152 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.042e-05/0.008527, allocations: 12 kB / 0.6253 GB, free: 6.141 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000266/0.008793, allocations: 145.8 kB / 0.6255 GB, free: 6 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004422/0.009235, allocations: 407.7 kB / 0.6259 GB, free: 5.559 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002347/0.00947, allocations: 166.4 kB / 0.626 GB, free: 5.387 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001415/0.009612, allocations: 96.78 kB / 0.6261 GB, free: 5.289 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.626e-05/0.009628, allocations: 4 kB / 0.6261 GB, free: 5.285 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.681e-05/0.009645, allocations: 30.56 kB / 0.6261 GB, free: 5.246 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=13): time 1.603e-06/0.009646, allocations: 0 / 0.6261 GB, free: 5.246 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13): time 0.0004816/0.01013, allocations: 301.5 kB / 0.6264 GB, free: 4.945 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.88e-05/0.01016, allocations: 59.34 kB / 0.6265 GB, free: 4.875 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001559/0.01031, allocations: 256.2 kB / 0.6267 GB, free: 4.625 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.01033, allocations: 25.7 kB / 0.6267 GB, free: 4.594 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.223e-05/0.0104, allocations: 148.1 kB / 0.6269 GB, free: 4.445 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.06e-05/0.01043, allocations: 43.58 kB / 0.6269 GB, free: 4.402 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.988e-05/0.01048, allocations: 33.7 kB / 0.627 GB, free: 4.363 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.866e-05/0.01057, allocations: 338.8 kB / 0.6273 GB, free: 4.023 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001206/0.01069, allocations: 75.94 kB / 0.6274 GB, free: 3.949 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001153/0.01081, allocations: 71.94 kB / 0.6274 GB, free: 3.879 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002397/0.01105, allocations: 171.5 kB / 0.6276 GB, free: 3.711 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.01105, allocations: 0 / 0.6276 GB, free: 3.711 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002835/0.01133, allocations: 221.4 kB / 0.6278 GB, free: 3.488 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.01134, allocations: 4 kB / 0.6278 GB, free: 3.484 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.01135, allocations: 4 kB / 0.6278 GB, free: 3.48 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.01136, allocations: 0 / 0.6278 GB, free: 3.48 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00013/0.01149, allocations: 35.95 kB / 0.6278 GB, free: 3.445 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.01149, allocations: 0 / 0.6278 GB, free: 3.445 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.113e-05/0.01156, allocations: 27.88 kB / 0.6279 GB, free: 3.418 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.827e-06/0.01157, allocations: 0 / 0.6279 GB, free: 3.418 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (13): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.387e-05/0.01165, allocations: 142.8 kB / 0.628 GB, free: 3.27 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.614e-05/0.01168, allocations: 27.84 kB / 0.628 GB, free: 3.242 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.168e-05/0.01171, allocations: 29.75 kB / 0.6281 GB, free: 3.211 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.01172, allocations: 4 kB / 0.6281 GB, free: 3.207 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.01172, allocations: 3.984 kB / 0.6281 GB, free: 3.203 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.01172, allocations: 0 / 0.6281 GB, free: 3.203 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001824/0.0119, allocations: 236.5 kB / 0.6283 GB, free: 2.93 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.01191, allocations: 0 / 0.6283 GB, free: 2.93 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.714e-05/0.01199, allocations: 31.97 kB / 0.6283 GB, free: 2.898 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.01199, allocations: 0 / 0.6283 GB, free: 2.898 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-06/0.012, allocations: 4 kB / 0.6283 GB, free: 2.895 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.01201, allocations: 3.984 kB / 0.6283 GB, free: 2.891 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.01201, allocations: 8 kB / 0.6283 GB, free: 2.883 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003107/0.01232, allocations: 315.2 kB / 0.6286 GB, free: 2.559 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.984e-05/0.01237, allocations: 43.78 kB / 0.6287 GB, free: 2.516 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.016e-05/0.01239, allocations: 7.984 kB / 0.6287 GB, free: 2.508 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.179e-05/0.01247, allocations: 11.98 kB / 0.6287 GB, free: 2.496 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.2e-05/0.01251, allocations: 15.97 kB / 0.6287 GB, free: 2.48 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.156e-06/0.01252, allocations: 7.984 kB / 0.6287 GB, free: 2.473 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001032/0.01262, allocations: 187.1 kB / 0.6289 GB, free: 2.289 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.01262, allocations: 0 / 0.6289 GB, free: 2.289 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001765/0.0128, allocations: 43.94 kB / 0.6289 GB, free: 2.246 MB / 0.5886 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 (13): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005175/0.01332, allocations: 0.8632 MB / 0.6298 GB, free: 1.359 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002865/0.0136, allocations: 171.8 kB / 0.63 GB, free: 1.191 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.153e-06/0.0136, allocations: 0 / 0.63 GB, free: 1.191 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001246/0.01373, allocations: 91.88 kB / 0.63 GB, free: 1.102 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002689/0.014, allocations: 48.88 kB / 0.6301 GB, free: 1.051 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001996/0.01599, allocations: 2.424 MB / 0.6325 GB, free: 14.55 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.481e-05/0.01608, allocations: 140.1 kB / 0.6326 GB, free: 14.39 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001083/0.01619, allocations: 53.44 kB / 0.6326 GB, free: 14.34 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.317e-05/0.01626, allocations: 60.47 kB / 0.6327 GB, free: 14.28 MB / 0.6042 GB Notification: Performance of SimCode: time 4.81e-07/0.01626, allocations: 0 / 0.6327 GB, free: 14.28 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01696/0.03322, allocations: 5.837 MB / 0.6384 GB, free: 8.672 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.961/6.994, allocations: 4.062 kB / 0.6384 GB, free: 8.668 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 IDEAS_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.fmu > IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.744810074567795] Failed to read output from testmodel.py, exit status != 0: 7.074766803532839 7.083140985 7.074352273 Calling exit ...