Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.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.001089/0.001089, 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.001573/0.001573, 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.8798/0.8798, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.7067/0.7067, allocations: 154.6 MB / 413.8 MB, free: 0.8086 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.Controls.BaseClasses.Examples.GCritCalc,fileNamePrefix="IDEAS_IDEAS_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,fileNamePrefix="IDEAS_IDEAS_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 0.6181 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.802e-05/1.987e-05, allocations: 2.281 kB / 0.6181 GB, free: 12.56 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002377/0.002397, allocations: 1.52 MB / 0.6196 GB, free: 11.04 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.0006315/0.003029, allocations: 466.9 kB / 0.62 GB, free: 10.57 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.38e-05/0.003092, allocations: 3.938 kB / 0.62 GB, free: 10.57 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 2.693e-05/0.003119, allocations: 7.922 kB / 0.62 GB, free: 10.56 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 4.565e-05/0.003165, allocations: 11.86 kB / 0.62 GB, free: 10.55 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002088/0.003374, allocations: 43.81 kB / 0.6201 GB, free: 10.51 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 9.415e-05/0.003468, allocations: 55.73 kB / 0.6201 GB, free: 10.45 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 8.483e-05/0.003553, allocations: 7.984 kB / 0.6202 GB, free: 10.45 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000108/0.003661, allocations: 31.92 kB / 0.6202 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 5.639e-05/0.003717, allocations: 27.89 kB / 0.6202 GB, free: 10.39 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 1.495e-05/0.003732, allocations: 4 kB / 0.6202 GB, free: 10.38 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 4.029e-05/0.003772, allocations: 8 kB / 0.6202 GB, free: 10.38 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 1.192e-05/0.003784, allocations: 7.938 kB / 0.6202 GB, free: 10.37 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 2.02e-05/0.003804, allocations: 11.98 kB / 0.6202 GB, free: 10.36 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 9.931e-05/0.003904, allocations: 55.8 kB / 0.6203 GB, free: 10.3 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.003906, allocations: 0 / 0.6203 GB, free: 10.3 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.513e-06/0.003907, allocations: 4 kB / 0.6203 GB, free: 10.3 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.003912, allocations: 0 / 0.6203 GB, free: 10.3 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003439/0.004256, allocations: 298.1 kB / 0.6206 GB, free: 9.977 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.004294, allocations: 12.03 kB / 0.6206 GB, free: 9.965 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.569e-05/0.00432, allocations: 30.75 kB / 0.6206 GB, free: 9.926 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001101/0.00443, allocations: 24.81 kB / 0.6206 GB, free: 9.902 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000139/0.004569, allocations: 125.7 kB / 0.6208 GB, free: 9.754 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.176e-06/0.004577, allocations: 4.375 kB / 0.6208 GB, free: 9.75 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.117e-06/0.004586, allocations: 4.312 kB / 0.6208 GB, free: 9.746 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001103/0.004696, allocations: 58.23 kB / 0.6208 GB, free: 9.684 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.004703, allocations: 192 / 0.6208 GB, free: 9.684 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-06/0.004711, allocations: 8.125 kB / 0.6208 GB, free: 9.676 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.004716, allocations: 0 / 0.6208 GB, free: 9.676 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.89e-05/0.004785, allocations: 31.97 kB / 0.6209 GB, free: 9.645 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002497/0.005034, allocations: 240 kB / 0.6211 GB, free: 9.367 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 7.994e-05/0.005114, allocations: 50.44 kB / 0.6211 GB, free: 9.309 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.941e-05/0.005154, allocations: 24.94 kB / 0.6212 GB, free: 9.281 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.256e-05/0.005166, allocations: 4 kB / 0.6212 GB, free: 9.277 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.803e-05/0.005184, allocations: 38.55 kB / 0.6212 GB, free: 9.23 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=3): time 9.11e-07/0.005185, allocations: 0 / 0.6212 GB, free: 9.23 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3): time 0.0001885/0.005374, allocations: 85.64 kB / 0.6213 GB, free: 9.141 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.426e-05/0.005398, allocations: 55.34 kB / 0.6213 GB, free: 9.074 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.587e-05/0.005464, allocations: 124.3 kB / 0.6215 GB, free: 8.945 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 8.867e-06/0.005473, allocations: 33.64 kB / 0.6215 GB, free: 8.906 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.067e-05/0.005504, allocations: 92.09 kB / 0.6216 GB, free: 8.812 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.405e-05/0.005518, allocations: 7.953 kB / 0.6216 GB, free: 8.805 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.508e-05/0.005543, allocations: 21.7 kB / 0.6216 GB, free: 8.777 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 6.035e-05/0.005603, allocations: 314.8 kB / 0.6219 GB, free: 8.461 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.693e-05/0.00564, allocations: 15.98 kB / 0.6219 GB, free: 8.445 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.994e-05/0.00567, allocations: 19.98 kB / 0.6219 GB, free: 8.426 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.735e-05/0.005737, allocations: 40.83 kB / 0.622 GB, free: 8.383 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.005739, allocations: 0 / 0.622 GB, free: 8.383 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.817e-05/0.005827, allocations: 77.56 kB / 0.6221 GB, free: 8.301 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.005839, allocations: 8 kB / 0.6221 GB, free: 8.293 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.005844, allocations: 7.922 kB / 0.6221 GB, free: 8.285 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.005854, allocations: 0 / 0.6221 GB, free: 8.285 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.896e-05/0.005943, allocations: 8 kB / 0.6221 GB, free: 8.277 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.005949, allocations: 0 / 0.6221 GB, free: 8.277 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.276e-05/0.005992, allocations: 3.984 kB / 0.6221 GB, free: 8.273 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/0.006, allocations: 4 kB / 0.6221 GB, free: 8.27 MB / 0.5417 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 (3): * Single equations (assignments): 3 * 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 6.182e-05/0.006062, allocations: 114.8 kB / 0.6222 GB, free: 8.148 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.798e-05/0.00608, allocations: 15.89 kB / 0.6222 GB, free: 8.133 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.047e-05/0.0061, allocations: 8 kB / 0.6222 GB, free: 8.117 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.006103, allocations: 3.984 kB / 0.6222 GB, free: 8.113 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.006108, allocations: 4 kB / 0.6222 GB, free: 8.109 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.006111, allocations: 0 / 0.6222 GB, free: 8.109 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001068/0.006217, allocations: 140.7 kB / 0.6224 GB, free: 7.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.006218, allocations: 3.938 kB / 0.6224 GB, free: 7.926 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.039e-05/0.006248, allocations: 7.984 kB / 0.6224 GB, free: 7.918 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.00625, allocations: 0 / 0.6224 GB, free: 7.918 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/0.006258, allocations: 4 kB / 0.6224 GB, free: 7.914 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.006258, allocations: 4 kB / 0.6224 GB, free: 7.91 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.006259, allocations: 0 / 0.6224 GB, free: 7.91 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001365/0.006396, allocations: 179.3 kB / 0.6226 GB, free: 7.719 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.24e-06/0.006401, allocations: 0 / 0.6226 GB, free: 7.719 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.036e-05/0.006411, allocations: 4 kB / 0.6226 GB, free: 7.715 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.702e-05/0.006448, allocations: 3.984 kB / 0.6226 GB, free: 7.711 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.212e-05/0.00648, allocations: 4 kB / 0.6226 GB, free: 7.707 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-06/0.006483, allocations: 0 / 0.6226 GB, free: 7.707 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.61e-05/0.006519, allocations: 99.2 kB / 0.6227 GB, free: 7.609 MB / 0.5417 GB Notification: Performance of sort global known variables: time 7e-08/0.006519, allocations: 4 kB / 0.6227 GB, free: 7.605 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001414/0.00666, allocations: 12 kB / 0.6227 GB, free: 7.594 MB / 0.5417 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 (3): * Single equations (assignments): 3 * 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.0002879/0.006948, allocations: 0.701 MB / 0.6234 GB, free: 6.867 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001079/0.007056, allocations: 39.95 kB / 0.6234 GB, free: 6.828 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.007057, allocations: 0 / 0.6234 GB, free: 6.828 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 3.521e-05/0.007093, allocations: 20.12 kB / 0.6234 GB, free: 6.809 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001517/0.007244, allocations: 12.52 kB / 0.6234 GB, free: 6.801 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001035/0.00828, allocations: 1.362 MB / 0.6248 GB, free: 5.355 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.93e-05/0.008319, allocations: 63.59 kB / 0.6248 GB, free: 5.273 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.441e-05/0.008343, allocations: 11.98 kB / 0.6248 GB, free: 5.262 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.894e-05/0.008382, allocations: 16.5 kB / 0.6248 GB, free: 5.246 MB / 0.5417 GB Notification: Performance of SimCode: time 6.61e-07/0.008383, allocations: 0 / 0.6248 GB, free: 5.246 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01381/0.02219, allocations: 2.196 MB / 0.627 GB, free: 3.215 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.755/6.777, allocations: 0.5 kB / 0.627 GB, free: 3.215 MB / 0.5417 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo IDEAS_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/IDEAS_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc_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_Controls_BaseClasses_Examples_GCritCalc.fmu > IDEAS_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.53384883608669] Failed to read output from testmodel.py, exit status != 0: 6.854707761667669 6.864292527 6.858522198 Calling exit ...