Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.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.0008069/0.0008069, allocations: 109.3 kB / 18.93 MB, free: 1.273 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.0008452/0.0008452, allocations: 218.2 kB / 22.25 MB, free: 3.699 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.9849/0.9849, allocations: 230.6 MB / 256 MB, free: 9.781 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7998/0.7998, allocations: 203.8 MB / 0.5042 GB, free: 10.69 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",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.0008835/0.0008835, allocations: 62.31 kB / 0.7183 GB, free: 4.25 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5135/0.5144, allocations: 102 MB / 0.818 GB, free: 1.238 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.001709/0.5161, allocations: 1.452 MB / 0.8194 GB, free: 224 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003158/0.5193, allocations: 2.96 MB / 0.8223 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.866e-05/0.5193, allocations: 0 / 0.8223 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.072e-05/0.5193, allocations: 5.297 kB / 0.8223 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.403e-05/0.5194, allocations: 16.45 kB / 0.8223 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002369/0.5218, allocations: 1.686 MB / 0.8239 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.534e-05/0.5218, allocations: 40.14 kB / 0.824 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.569e-05/0.5219, allocations: 7.016 kB / 0.824 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.393e-05/0.5219, allocations: 16.47 kB / 0.824 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.21e-05/0.5219, allocations: 14.55 kB / 0.824 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.586e-06/0.5219, allocations: 1.406 kB / 0.824 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001795/0.5237, allocations: 1.719 MB / 0.8257 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.531e-05/0.5237, allocations: 9.688 kB / 0.8257 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.99e-05/0.5238, allocations: 22.67 kB / 0.8257 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001417/0.5252, allocations: 1.115 MB / 0.8268 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.5252, allocations: 0 / 0.8268 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.174e-06/0.5252, allocations: 3.938 kB / 0.8268 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.133e-06/0.5252, allocations: 5.281 kB / 0.8268 GB, free: 12.42 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005298/0.5257, allocations: 469.5 kB / 0.8273 GB, free: 12.01 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.5258, allocations: 9.281 kB / 0.8273 GB, free: 12.01 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.668e-05/0.5258, allocations: 106 kB / 0.8274 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.396e-05/0.5259, allocations: 82.45 kB / 0.8274 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.349e-05/0.5259, allocations: 193 kB / 0.8276 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.625e-05/0.526, allocations: 156 kB / 0.8278 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.086e-05/0.526, allocations: 156.2 kB / 0.8279 GB, free: 11.31 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.691e-05/0.5261, allocations: 105.5 kB / 0.828 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/0.5261, allocations: 75.28 kB / 0.8281 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.586e-05/0.5261, allocations: 152.3 kB / 0.8282 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.248e-05/0.5262, allocations: 154.6 kB / 0.8284 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001145/0.5263, allocations: 156 kB / 0.8285 GB, free: 10.67 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001892/0.5265, allocations: 436.5 kB / 0.829 GB, free: 10.22 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.037e-05/0.5265, allocations: 170.2 kB / 0.8291 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.477e-05/0.5265, allocations: 84.08 kB / 0.8292 GB, free: 9.957 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/0.5266, allocations: 85.2 kB / 0.8293 GB, free: 9.875 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.5266, allocations: 105.8 kB / 0.8294 GB, free: 9.762 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/0.5266, allocations: 1.344 kB / 0.8294 GB, free: 9.762 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 6.187e-05/0.5267, allocations: 36.92 kB / 0.8294 GB, free: 9.723 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.129e-05/0.5267, allocations: 127.2 kB / 0.8295 GB, free: 9.586 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/0.5268, allocations: 132 kB / 0.8297 GB, free: 9.477 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.654e-06/0.5268, allocations: 26.7 kB / 0.8297 GB, free: 9.445 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.091e-05/0.5269, allocations: 96.95 kB / 0.8298 GB, free: 9.352 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.984e-06/0.5269, allocations: 0 / 0.8298 GB, free: 9.352 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.57e-05/0.5269, allocations: 15.36 kB / 0.8298 GB, free: 9.336 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.439e-05/0.527, allocations: 318.2 kB / 0.8301 GB, free: 9.02 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.81e-05/0.527, allocations: 3.5 kB / 0.8301 GB, free: 9.02 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.234e-05/0.527, allocations: 4.031 kB / 0.8301 GB, free: 9.02 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.44e-05/0.527, allocations: 15.12 kB / 0.8301 GB, free: 9.008 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.527, allocations: 0 / 0.8301 GB, free: 9.008 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001042/0.5271, allocations: 57.69 kB / 0.8302 GB, free: 8.961 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.5271, allocations: 9.562 kB / 0.8302 GB, free: 8.957 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.699e-05/0.5272, allocations: 2.984 kB / 0.8302 GB, free: 8.957 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.5272, allocations: 0 / 0.8302 GB, free: 8.957 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.124e-06/0.5272, allocations: 1.812 kB / 0.8302 GB, free: 8.957 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.5272, allocations: 0 / 0.8302 GB, free: 8.957 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.68e-05/0.5272, allocations: 5.5 kB / 0.8302 GB, free: 8.953 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.5272, allocations: 9.156 kB / 0.8302 GB, free: 8.945 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 7.646e-05/0.5273, allocations: 183.8 kB / 0.8304 GB, free: 8.758 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.807e-05/0.5273, allocations: 116.7 kB / 0.8305 GB, free: 8.641 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.618e-05/0.5274, allocations: 119.2 kB / 0.8306 GB, free: 8.516 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.686e-05/0.5274, allocations: 178.1 kB / 0.8308 GB, free: 8.336 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.032e-05/0.5274, allocations: 186 kB / 0.831 GB, free: 8.148 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.139e-05/0.5275, allocations: 182.8 kB / 0.8311 GB, free: 7.965 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000139/0.5276, allocations: 387.9 kB / 0.8315 GB, free: 7.547 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-05/0.5276, allocations: 107.2 kB / 0.8316 GB, free: 7.438 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.253e-05/0.5277, allocations: 101 kB / 0.8317 GB, free: 7.332 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.801e-05/0.5277, allocations: 187 kB / 0.8319 GB, free: 7.145 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.917e-05/0.5277, allocations: 177 kB / 0.832 GB, free: 6.965 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.799e-05/0.5278, allocations: 178.2 kB / 0.8322 GB, free: 6.785 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.076e-05/0.5278, allocations: 190.4 kB / 0.8324 GB, free: 6.594 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.665e-05/0.5279, allocations: 314.6 kB / 0.8327 GB, free: 6.27 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.859e-05/0.528, allocations: 105.1 kB / 0.8328 GB, free: 6.164 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.734e-05/0.528, allocations: 178.3 kB / 0.833 GB, free: 5.984 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.412e-05/0.528, allocations: 107 kB / 0.8331 GB, free: 5.875 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.35e-05/0.5281, allocations: 181.6 kB / 0.8332 GB, free: 5.691 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.739e-05/0.5281, allocations: 110.8 kB / 0.8333 GB, free: 5.578 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.54e-05/0.5282, allocations: 99.16 kB / 0.8334 GB, free: 5.5 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5282, allocations: 0 / 0.8334 GB, free: 5.5 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005715/0.5287, allocations: 290.6 kB / 0.8337 GB, free: 5.426 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 (0): * Single equations (assignments): 0 * 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.001019/0.5298, allocations: 1.18 MB / 0.8349 GB, free: 4.492 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.368e-05/0.5298, allocations: 37.64 kB / 0.8349 GB, free: 4.457 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.5298, allocations: 0.9375 kB / 0.8349 GB, free: 4.457 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.82e-07/0.5298, allocations: 0 / 0.8349 GB, free: 4.457 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002743/0.5301, allocations: 465.7 kB / 0.8354 GB, free: 4.004 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001127/0.5312, allocations: 1.591 MB / 0.8369 GB, free: 2.559 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001889/0.5314, allocations: 0.6867 MB / 0.8376 GB, free: 1.859 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.739e-05/0.5314, allocations: 5.531 kB / 0.8376 GB, free: 1.855 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.382e-05/0.5315, allocations: 13.12 kB / 0.8376 GB, free: 1.844 MB / 0.6198 GB Notification: Performance of SimCode: time 4.6e-07/0.5315, allocations: 1.156 kB / 0.8376 GB, free: 1.844 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02086/0.5523, allocations: 7.163 MB / 0.8446 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.441/6.993, allocations: 9.547 kB / 0.8446 GB, free: 15.39 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.951505394186825] Failed to read output from testmodel.py, exit status != 0: 7.0734899449162185 7.083334399 6.556301592 Calling exit ...