Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.000888/0.000888, 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.0008883/0.0008883, 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.8829/0.8829, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.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.7071/0.7071, allocations: 154.5 MB / 413.7 MB, free: 0.8438 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 5.15e-06/5.15e-06, allocations: 4 kB / 0.618 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.133e-05/2.648e-05, allocations: 2.781 kB / 0.618 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003564/0.00359, allocations: 1.999 MB / 0.62 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.005353/0.008944, allocations: 3.888 MB / 0.6238 GB, free: 7.82 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002017/0.009145, allocations: 3.938 kB / 0.6238 GB, free: 7.816 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.001001/0.01015, allocations: 187.1 kB / 0.624 GB, free: 7.633 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001741/0.01032, allocations: 75.3 kB / 0.624 GB, free: 7.559 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008716/0.01119, allocations: 310.7 kB / 0.6243 GB, free: 7.258 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.000698/0.01189, allocations: 398.7 kB / 0.6247 GB, free: 6.867 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000134/0.01202, allocations: 32.52 kB / 0.6248 GB, free: 6.836 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002417/0.01227, allocations: 163.5 kB / 0.6249 GB, free: 6.676 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000168/0.01243, allocations: 107.7 kB / 0.625 GB, free: 6.57 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.559e-05/0.01247, allocations: 19.94 kB / 0.625 GB, free: 6.551 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005801/0.01305, allocations: 303.5 kB / 0.6253 GB, free: 6.254 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001199/0.01317, allocations: 103.7 kB / 0.6254 GB, free: 6.152 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001143/0.01328, allocations: 99.69 kB / 0.6255 GB, free: 6.055 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0007763/0.01406, allocations: 0.5764 MB / 0.6261 GB, free: 5.477 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.01407, allocations: 0 / 0.6261 GB, free: 5.477 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.463e-06/0.01407, allocations: 0 / 0.6261 GB, free: 5.477 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 9.127e-06/0.01408, allocations: 4 kB / 0.6261 GB, free: 5.473 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001223/0.0153, allocations: 0.6885 MB / 0.6268 GB, free: 4.746 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/0.01535, allocations: 9.469 kB / 0.6268 GB, free: 4.738 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.117e-05/0.0154, allocations: 42.73 kB / 0.6268 GB, free: 4.688 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008306/0.01623, allocations: 164.5 kB / 0.627 GB, free: 4.527 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006993/0.01693, allocations: 295.8 kB / 0.6272 GB, free: 4.215 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/0.01695, allocations: 8.375 kB / 0.6273 GB, free: 4.207 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.316e-05/0.01699, allocations: 8.375 kB / 0.6273 GB, free: 4.199 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005084/0.01749, allocations: 212.8 kB / 0.6275 GB, free: 3.988 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.0175, allocations: 192 / 0.6275 GB, free: 3.988 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.444e-05/0.01753, allocations: 7.938 kB / 0.6275 GB, free: 3.98 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.01754, allocations: 4 kB / 0.6275 GB, free: 3.977 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006456/0.01818, allocations: 263.7 kB / 0.6277 GB, free: 3.719 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001121/0.0193, allocations: 0.5462 MB / 0.6283 GB, free: 3.129 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004072/0.01971, allocations: 174.4 kB / 0.6284 GB, free: 2.949 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003187/0.02003, allocations: 136.8 kB / 0.6286 GB, free: 2.812 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 7.123e-05/0.0201, allocations: 20 kB / 0.6286 GB, free: 2.793 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.185e-05/0.02013, allocations: 34.55 kB / 0.6286 GB, free: 2.75 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=11): time 3.437e-06/0.02014, allocations: 0 / 0.6286 GB, free: 2.75 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11): time 0.001235/0.02137, allocations: 472.5 kB / 0.6291 GB, free: 2.285 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.399e-05/0.02141, allocations: 59.34 kB / 0.6291 GB, free: 2.215 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000486/0.0219, allocations: 417.9 kB / 0.6295 GB, free: 1.805 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.065e-05/0.02193, allocations: 29.7 kB / 0.6295 GB, free: 1.77 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001464/0.02208, allocations: 187.9 kB / 0.6297 GB, free: 1.582 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.993e-05/0.02213, allocations: 35.69 kB / 0.6298 GB, free: 1.547 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.724e-05/0.02222, allocations: 49.69 kB / 0.6298 GB, free: 1.492 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.02236, allocations: 350.8 kB / 0.6301 GB, free: 1.141 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003742/0.02273, allocations: 213.6 kB / 0.6303 GB, free: 0.9258 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003479/0.02308, allocations: 221.6 kB / 0.6306 GB, free: 0.7031 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006533/0.02373, allocations: 373.1 kB / 0.6309 GB, free: 340 kB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.02374, allocations: 0 / 0.6309 GB, free: 340 kB / 0.5886 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008839/0.02462, allocations: 0.5239 MB / 0.6314 GB, free: 15.79 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.96e-05/0.02468, allocations: 45.69 kB / 0.6315 GB, free: 15.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.02469, allocations: 0 / 0.6315 GB, free: 15.74 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/0.02471, allocations: 4 kB / 0.6315 GB, free: 15.73 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002587/0.02497, allocations: 47.88 kB / 0.6315 GB, free: 15.69 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.02498, allocations: 4 kB / 0.6315 GB, free: 15.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002377/0.02522, allocations: 35.86 kB / 0.6316 GB, free: 15.65 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.519e-05/0.02524, allocations: 7.984 kB / 0.6316 GB, free: 15.64 MB / 0.6042 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.0001868/0.02543, allocations: 158.7 kB / 0.6317 GB, free: 15.48 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.133e-05/0.02549, allocations: 47.66 kB / 0.6318 GB, free: 15.43 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008052/0.02629, allocations: 372.7 kB / 0.6321 GB, free: 15.06 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.0263, allocations: 0 / 0.6321 GB, free: 15.06 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.0263, allocations: 4 kB / 0.6321 GB, free: 15.06 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.02631, allocations: 0 / 0.6321 GB, free: 15.06 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003671/0.02668, allocations: 296.5 kB / 0.6324 GB, free: 14.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.02668, allocations: 0 / 0.6324 GB, free: 14.73 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002147/0.02689, allocations: 47.94 kB / 0.6324 GB, free: 14.68 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.591e-06/0.0269, allocations: 0 / 0.6324 GB, free: 14.68 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.881e-05/0.02692, allocations: 7.984 kB / 0.6325 GB, free: 14.67 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.02692, allocations: 4 kB / 0.6325 GB, free: 14.67 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.02692, allocations: 0 / 0.6325 GB, free: 14.67 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007268/0.02765, allocations: 450.9 kB / 0.6329 GB, free: 14.21 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001304/0.02778, allocations: 59.62 kB / 0.6329 GB, free: 14.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.105e-05/0.02782, allocations: 0 / 0.6329 GB, free: 14.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002101/0.02803, allocations: 31.91 kB / 0.633 GB, free: 14.12 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.546e-05/0.02811, allocations: 15.97 kB / 0.633 GB, free: 14.11 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.582e-05/0.02812, allocations: 4 kB / 0.633 GB, free: 14.1 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003027/0.02843, allocations: 299.1 kB / 0.6333 GB, free: 13.81 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.81e-07/0.02843, allocations: 0 / 0.6333 GB, free: 13.81 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000543/0.02897, allocations: 111.9 kB / 0.6334 GB, free: 13.7 MB / 0.6042 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.001339/0.03031, allocations: 1.054 MB / 0.6344 GB, free: 12.62 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0008852/0.03119, allocations: 480.8 kB / 0.6349 GB, free: 12.13 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.0312, allocations: 0 / 0.6349 GB, free: 12.13 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004595/0.03166, allocations: 147.8 kB / 0.635 GB, free: 11.98 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000419/0.03208, allocations: 59.64 kB / 0.6351 GB, free: 11.93 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004341/0.03642, allocations: 4.43 MB / 0.6394 GB, free: 7.383 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001183/0.03654, allocations: 179.2 kB / 0.6396 GB, free: 7.188 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001577/0.03669, allocations: 57.91 kB / 0.6396 GB, free: 7.133 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001272/0.03682, allocations: 112.5 kB / 0.6397 GB, free: 7.023 MB / 0.6042 GB Notification: Performance of SimCode: time 1.803e-06/0.03682, allocations: 0 / 0.6397 GB, free: 7.023 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02126/0.05808, allocations: 9.602 MB / 0.6491 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.543/7.601, allocations: 9.516 kB / 0.6491 GB, free: 13.66 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 IDEAS_dev_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.fmu > IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.380548913963139] Failed to read output from testmodel.py, exit status != 0: 7.686746780760586 7.6952069419999996 7.679271945 Calling exit ...