Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.0008061/0.0008061, allocations: 105.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.0009023/0.0009023, allocations: 212.1 kB / 22.25 MB, free: 3.727 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.9325/0.9325, allocations: 230.6 MB / 256 MB, free: 9.594 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.7633/0.7633, 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.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="IDEAS_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="IDEAS_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",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.0009522/0.0009522, allocations: 71.33 kB / 0.7178 GB, free: 4.402 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4741/0.4751, allocations: 102 MB / 0.8174 GB, free: 1.207 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.002771/0.4778, allocations: 1.995 MB / 0.8193 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004557/0.4824, allocations: 3.913 MB / 0.8232 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001464/0.4825, allocations: 5.125 kB / 0.8232 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0008292/0.4834, allocations: 181 kB / 0.8233 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001295/0.4835, allocations: 67.52 kB / 0.8234 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007781/0.4843, allocations: 308.9 kB / 0.8237 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0006178/0.4849, allocations: 390 kB / 0.8241 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.485, allocations: 29.5 kB / 0.8241 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001982/0.4852, allocations: 120.1 kB / 0.8242 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001725/0.4854, allocations: 121.3 kB / 0.8243 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.148e-05/0.4854, allocations: 16.59 kB / 0.8243 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006294/0.486, allocations: 317.6 kB / 0.8246 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001196/0.4862, allocations: 102.5 kB / 0.8247 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001108/0.4863, allocations: 118.7 kB / 0.8249 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006903/0.487, allocations: 0.5277 MB / 0.8254 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.487, allocations: 0.5156 kB / 0.8254 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.373e-06/0.487, allocations: 0 / 0.8254 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.198e-06/0.487, allocations: 1.344 kB / 0.8254 GB, free: 12.3 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001023/0.488, allocations: 0.7008 MB / 0.8261 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.488, allocations: 10.06 kB / 0.8261 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.689e-05/0.4881, allocations: 42.67 kB / 0.8261 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002705/0.4884, allocations: 80.53 kB / 0.8262 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004968/0.4889, allocations: 295.4 kB / 0.8265 GB, free: 11.49 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.4889, allocations: 4.5 kB / 0.8265 GB, free: 11.49 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.961e-05/0.4889, allocations: 9.25 kB / 0.8265 GB, free: 11.49 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003435/0.4892, allocations: 204 kB / 0.8267 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.253e-06/0.4892, allocations: 0 / 0.8267 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.4893, allocations: 1.406 kB / 0.8267 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.4893, allocations: 1.984 kB / 0.8267 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004078/0.4897, allocations: 249.8 kB / 0.8269 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007095/0.4904, allocations: 0.5253 MB / 0.8274 GB, free: 11.03 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002741/0.4906, allocations: 175.1 kB / 0.8276 GB, free: 10.97 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000217/0.4909, allocations: 127.8 kB / 0.8277 GB, free: 10.94 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.307e-05/0.4909, allocations: 16.42 kB / 0.8277 GB, free: 10.94 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.063e-05/0.4909, allocations: 36.25 kB / 0.8278 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 1.223e-06/0.4909, allocations: 1.094 kB / 0.8278 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0008397/0.4918, allocations: 450.8 kB / 0.8282 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.921e-05/0.4918, allocations: 57.52 kB / 0.8282 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003499/0.4922, allocations: 423.7 kB / 0.8287 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.4922, allocations: 27.56 kB / 0.8287 GB, free: 10.47 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.973e-05/0.4923, allocations: 180.9 kB / 0.8289 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.4e-05/0.4923, allocations: 39.5 kB / 0.8289 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.047e-05/0.4924, allocations: 44.03 kB / 0.8289 GB, free: 10.26 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.4925, allocations: 348.2 kB / 0.8293 GB, free: 9.93 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000284/0.4928, allocations: 214.2 kB / 0.8295 GB, free: 9.855 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003268/0.4931, allocations: 210.5 kB / 0.8297 GB, free: 9.785 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006688/0.4938, allocations: 361.8 kB / 0.83 GB, free: 9.668 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.4938, allocations: 4.594 kB / 0.83 GB, free: 9.664 MB / 0.6198 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0007251/0.4945, allocations: 0.5116 MB / 0.8305 GB, free: 9.461 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.988e-05/0.4945, allocations: 45.14 kB / 0.8306 GB, free: 9.426 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.4945, allocations: 1 kB / 0.8306 GB, free: 9.426 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.4946, allocations: 0.7031 kB / 0.8306 GB, free: 9.426 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001882/0.4947, allocations: 51.67 kB / 0.8306 GB, free: 9.418 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.4948, allocations: 5.594 kB / 0.8306 GB, free: 9.414 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001364/0.4949, allocations: 42.97 kB / 0.8307 GB, free: 9.398 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.689e-05/0.4949, allocations: 7.25 kB / 0.8307 GB, free: 9.398 MB / 0.6198 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 (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001211/0.495, allocations: 153.6 kB / 0.8308 GB, free: 9.27 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.02e-05/0.4951, allocations: 35.39 kB / 0.8308 GB, free: 9.25 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006113/0.4957, allocations: 348.3 kB / 0.8312 GB, free: 9.137 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.4957, allocations: 2.281 kB / 0.8312 GB, free: 9.137 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.437e-06/0.4957, allocations: 4.594 kB / 0.8312 GB, free: 9.133 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.4957, allocations: 0.5625 kB / 0.8312 GB, free: 9.133 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002984/0.496, allocations: 295.4 kB / 0.8315 GB, free: 8.918 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.496, allocations: 1 kB / 0.8315 GB, free: 8.918 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00014/0.4961, allocations: 43.25 kB / 0.8315 GB, free: 8.918 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.4961, allocations: 1.219 kB / 0.8315 GB, free: 8.918 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.4962, allocations: 3.25 kB / 0.8315 GB, free: 8.918 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.4962, allocations: 2.062 kB / 0.8315 GB, free: 8.918 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/0.4962, allocations: 3.938 kB / 0.8315 GB, free: 8.914 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005362/0.4967, allocations: 426.5 kB / 0.8319 GB, free: 8.703 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.39e-05/0.4968, allocations: 50.94 kB / 0.832 GB, free: 8.676 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.634e-05/0.4968, allocations: 5.844 kB / 0.832 GB, free: 8.672 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001254/0.4969, allocations: 32.3 kB / 0.832 GB, free: 8.664 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.749e-05/0.497, allocations: 18.86 kB / 0.832 GB, free: 8.656 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.497, allocations: 4.906 kB / 0.832 GB, free: 8.656 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002385/0.4972, allocations: 297 kB / 0.8323 GB, free: 8.52 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.4972, allocations: 0 / 0.8323 GB, free: 8.52 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004642/0.4977, allocations: 116.3 kB / 0.8324 GB, free: 8.504 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 (11): * Single equations (assignments): 11 * 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.0009087/0.4986, allocations: 1.029 MB / 0.8334 GB, free: 7.746 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006234/0.4992, allocations: 462.2 kB / 0.8339 GB, free: 7.574 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.4992, allocations: 0.9688 kB / 0.8339 GB, free: 7.574 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002226/0.4995, allocations: 137.5 kB / 0.834 GB, free: 7.547 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003488/0.4998, allocations: 60.16 kB / 0.8341 GB, free: 7.523 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004455/0.5043, allocations: 4.39 MB / 0.8383 GB, free: 5.203 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001676/0.5044, allocations: 184.4 kB / 0.8385 GB, free: 5.117 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002041/0.5046, allocations: 53.25 kB / 0.8386 GB, free: 5.098 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001496/0.5048, allocations: 108.9 kB / 0.8387 GB, free: 5.016 MB / 0.6198 GB Notification: Performance of SimCode: time 9.82e-07/0.5048, allocations: 0 / 0.8387 GB, free: 5.016 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02852/0.5333, allocations: 9.365 MB / 0.8478 GB, free: 356 kB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.688/7.221, allocations: 5.812 kB / 0.8478 GB, free: 352 kB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.fmu > IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.039605224970728] Failed to read output from testmodel.py, exit status != 0: 7.304040970746428 7.31556752 6.826481372 Calling exit ...