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.0009698/0.0009698, 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.001122/0.001122, 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.9172/0.9172, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.732/0.732, allocations: 154.6 MB / 413.7 MB, free: 0.8359 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 1.453e-06/1.453e-06, allocations: 0 / 0.618 GB, free: 13.76 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.691e-05/1.837e-05, allocations: 9.234 kB / 0.6181 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.002285/0.002303, allocations: 1.993 MB / 0.62 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.003933/0.006237, allocations: 3.888 MB / 0.6238 GB, free: 7.832 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001065/0.006343, allocations: 0 / 0.6238 GB, free: 7.832 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0007174/0.007061, allocations: 186.3 kB / 0.624 GB, free: 7.652 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 9.749e-05/0.007158, allocations: 67.38 kB / 0.624 GB, free: 7.586 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006044/0.007763, allocations: 319.1 kB / 0.6243 GB, free: 7.273 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0004951/0.008258, allocations: 398.7 kB / 0.6247 GB, free: 6.883 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.008362, allocations: 32.56 kB / 0.6248 GB, free: 6.852 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003024/0.008664, allocations: 159.5 kB / 0.6249 GB, free: 6.695 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000112/0.008776, allocations: 107.7 kB / 0.625 GB, free: 6.59 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.364e-05/0.0088, allocations: 16 kB / 0.625 GB, free: 6.574 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004029/0.009203, allocations: 311.4 kB / 0.6253 GB, free: 6.27 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 9.48e-05/0.009298, allocations: 107.7 kB / 0.6254 GB, free: 6.164 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 7.742e-05/0.009375, allocations: 95.69 kB / 0.6255 GB, free: 6.07 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0005163/0.009891, allocations: 0.5686 MB / 0.6261 GB, free: 5.5 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.285e-06/0.009893, allocations: 0 / 0.6261 GB, free: 5.5 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.262e-06/0.009895, allocations: 0 / 0.6261 GB, free: 5.5 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.0099, allocations: 0 / 0.6261 GB, free: 5.5 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.0008824/0.01078, allocations: 0.7041 MB / 0.6268 GB, free: 4.758 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.01083, allocations: 9.469 kB / 0.6268 GB, free: 4.75 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.508e-05/0.01086, allocations: 38.75 kB / 0.6268 GB, free: 4.703 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005239/0.01139, allocations: 160.5 kB / 0.627 GB, free: 4.547 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004188/0.0118, allocations: 300 kB / 0.6272 GB, free: 4.23 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/0.01182, allocations: 8.328 kB / 0.6272 GB, free: 4.223 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.959e-05/0.01184, allocations: 8.375 kB / 0.6273 GB, free: 4.215 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003197/0.01216, allocations: 208.1 kB / 0.6275 GB, free: 4.008 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.944e-06/0.01217, allocations: 192 / 0.6275 GB, free: 4.008 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.745e-05/0.01219, allocations: 11.94 kB / 0.6275 GB, free: 3.996 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.01219, allocations: 4 kB / 0.6275 GB, free: 3.992 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004091/0.0126, allocations: 255.8 kB / 0.6277 GB, free: 3.742 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001027/0.01363, allocations: 0.5423 MB / 0.6282 GB, free: 3.156 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002673/0.0139, allocations: 170.5 kB / 0.6284 GB, free: 2.98 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002092/0.01411, allocations: 144.9 kB / 0.6285 GB, free: 2.836 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 5.142e-05/0.01416, allocations: 19.98 kB / 0.6286 GB, free: 2.816 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.246e-05/0.01418, allocations: 42.44 kB / 0.6286 GB, free: 2.766 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=11): time 1.062e-06/0.01418, allocations: 0 / 0.6286 GB, free: 2.766 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11): time 0.0007535/0.01493, allocations: 466.6 kB / 0.629 GB, free: 2.305 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.699e-05/0.01496, allocations: 59.41 kB / 0.6291 GB, free: 2.234 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002883/0.01525, allocations: 417.9 kB / 0.6295 GB, free: 1.824 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.119e-05/0.01527, allocations: 29.7 kB / 0.6295 GB, free: 1.789 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 9.32e-05/0.01536, allocations: 184 kB / 0.6297 GB, free: 1.605 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.214e-05/0.0154, allocations: 39.67 kB / 0.6297 GB, free: 1.566 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.169e-05/0.01546, allocations: 45.62 kB / 0.6298 GB, free: 1.516 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.527e-05/0.01555, allocations: 354.7 kB / 0.6301 GB, free: 1.16 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002626/0.01582, allocations: 217.6 kB / 0.6303 GB, free: 0.9414 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002396/0.01606, allocations: 221.6 kB / 0.6305 GB, free: 0.7188 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000459/0.01651, allocations: 381.3 kB / 0.6309 GB, free: 348 kB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.01652, allocations: 0 / 0.6309 GB, free: 348 kB / 0.5886 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005816/0.0171, allocations: 0.524 MB / 0.6314 GB, free: 15.79 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.06e-05/0.01714, allocations: 41.69 kB / 0.6315 GB, free: 15.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.361e-06/0.01714, allocations: 0 / 0.6315 GB, free: 15.75 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.01716, allocations: 0 / 0.6315 GB, free: 15.75 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001727/0.01733, allocations: 47.94 kB / 0.6315 GB, free: 15.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.01734, allocations: 4 kB / 0.6315 GB, free: 15.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000124/0.01746, allocations: 43.73 kB / 0.6316 GB, free: 15.65 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.683e-05/0.01748, 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.0001187/0.0176, allocations: 158.7 kB / 0.6317 GB, free: 15.48 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.63e-05/0.01763, allocations: 39.72 kB / 0.6317 GB, free: 15.44 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005592/0.01819, allocations: 372.1 kB / 0.6321 GB, free: 15.08 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.01819, allocations: 0 / 0.6321 GB, free: 15.08 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.0182, allocations: 7.984 kB / 0.6321 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.0182, allocations: 0 / 0.6321 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002523/0.01846, allocations: 288.6 kB / 0.6324 GB, free: 14.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.01846, allocations: 0 / 0.6324 GB, free: 14.75 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001372/0.0186, allocations: 55.88 kB / 0.6324 GB, free: 14.69 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.0186, allocations: 0 / 0.6324 GB, free: 14.69 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.01861, allocations: 7.984 kB / 0.6324 GB, free: 14.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.01862, allocations: 8 kB / 0.6325 GB, free: 14.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.01862, allocations: 0 / 0.6325 GB, free: 14.68 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000493/0.01911, allocations: 435 kB / 0.6329 GB, free: 14.23 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.762e-05/0.01919, allocations: 55.69 kB / 0.6329 GB, free: 14.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.561e-05/0.01921, allocations: 0 / 0.6329 GB, free: 14.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001309/0.01934, allocations: 31.95 kB / 0.633 GB, free: 14.15 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.47e-05/0.01941, allocations: 15.97 kB / 0.633 GB, free: 14.13 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.224e-05/0.01942, allocations: 11.98 kB / 0.633 GB, free: 14.12 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002097/0.01963, allocations: 299.1 kB / 0.6333 GB, free: 13.83 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6e-08/0.01963, allocations: 3.938 kB / 0.6333 GB, free: 13.82 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003334/0.01996, allocations: 115.8 kB / 0.6334 GB, free: 13.71 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.0009167/0.02088, allocations: 1.051 MB / 0.6344 GB, free: 12.63 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006157/0.0215, allocations: 484.7 kB / 0.6349 GB, free: 12.14 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.0215, allocations: 0 / 0.6349 GB, free: 12.14 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002144/0.02171, allocations: 139.8 kB / 0.635 GB, free: 12 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003552/0.02207, allocations: 71.11 kB / 0.6351 GB, free: 11.94 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004549/0.02662, allocations: 4.432 MB / 0.6394 GB, free: 7.395 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00013/0.02675, allocations: 179.2 kB / 0.6396 GB, free: 7.199 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.000169/0.02692, allocations: 57.92 kB / 0.6396 GB, free: 7.145 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001349/0.02705, allocations: 112.4 kB / 0.6397 GB, free: 7.035 MB / 0.6042 GB Notification: Performance of SimCode: time 9.22e-07/0.02705, allocations: 0 / 0.6397 GB, free: 7.035 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0259/0.05296, allocations: 9.592 MB / 0.6491 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.506/7.559, allocations: 3.75 kB / 0.6491 GB, free: 13.68 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 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.29990497417748] Failed to read output from testmodel.py, exit status != 0: 7.641416806727648 7.656506256 7.643911599 Calling exit ...