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.001367/0.001367, allocations: 82 kB / 19.18 MB, free: 2.531 MB / 14.72 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.001487/0.001487, allocations: 164.2 kB / 22.45 MB, free: 5.363 MB / 14.72 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 1.478/1.478, allocations: 177.2 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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 1.219/1.219, allocations: 154.7 MB / 413.9 MB, free: 5.148 MB / 382.1 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 178] 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: translateModel(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") translateModel(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.6188 GB, free: 4.551 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.027e-05/2.193e-05, allocations: 2.281 kB / 0.6188 GB, free: 4.547 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003232/0.003254, allocations: 2.003 MB / 0.6207 GB, free: 2.547 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005314/0.008568, allocations: 3.896 MB / 0.6245 GB, free: 14.63 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001454/0.008714, allocations: 7.938 kB / 0.6245 GB, free: 14.62 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0008641/0.009578, allocations: 179.1 kB / 0.6247 GB, free: 14.45 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001392/0.009717, allocations: 75.34 kB / 0.6248 GB, free: 14.37 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007844/0.0105, allocations: 301.6 kB / 0.6251 GB, free: 14.08 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0006531/0.01115, allocations: 394.7 kB / 0.6254 GB, free: 13.69 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.01127, allocations: 36.58 kB / 0.6255 GB, free: 13.66 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002129/0.01148, allocations: 155.6 kB / 0.6256 GB, free: 13.5 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001661/0.01165, allocations: 107.7 kB / 0.6257 GB, free: 13.4 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.633e-05/0.01169, allocations: 16 kB / 0.6257 GB, free: 13.38 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004987/0.01218, allocations: 311.5 kB / 0.626 GB, free: 13.08 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001213/0.01231, allocations: 103.7 kB / 0.6261 GB, free: 12.98 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001204/0.01243, allocations: 91.7 kB / 0.6262 GB, free: 12.89 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007038/0.01313, allocations: 0.5724 MB / 0.6268 GB, free: 12.31 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.01313, allocations: 0 / 0.6268 GB, free: 12.31 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.062e-06/0.01313, allocations: 0 / 0.6268 GB, free: 12.31 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.082e-06/0.01314, allocations: 7.875 kB / 0.6268 GB, free: 12.3 MB / 0.545 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.001393/0.01453, allocations: 0.6925 MB / 0.6275 GB, free: 11.57 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.01457, allocations: 8.031 kB / 0.6275 GB, free: 11.57 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004817/0.01505, allocations: 88.64 kB / 0.6275 GB, free: 11.48 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006482/0.0157, allocations: 295.9 kB / 0.6278 GB, free: 11.17 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.01572, allocations: 4.375 kB / 0.6278 GB, free: 11.16 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.593e-05/0.01574, allocations: 8.375 kB / 0.6278 GB, free: 11.16 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005144/0.01626, allocations: 207.7 kB / 0.628 GB, free: 10.95 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.01627, allocations: 192 / 0.628 GB, free: 10.95 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.98e-05/0.01629, allocations: 4.125 kB / 0.628 GB, free: 10.95 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.01629, allocations: 0 / 0.628 GB, free: 10.95 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007116/0.017, allocations: 251.8 kB / 0.6283 GB, free: 10.7 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009698/0.01797, allocations: 0.4922 MB / 0.6288 GB, free: 10.18 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004208/0.01839, allocations: 174.4 kB / 0.6289 GB, free: 9.996 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000357/0.01875, allocations: 128.8 kB / 0.6291 GB, free: 9.867 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.573e-05/0.01881, allocations: 23.98 kB / 0.6291 GB, free: 9.844 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.438e-05/0.01884, allocations: 30.56 kB / 0.6291 GB, free: 9.805 MB / 0.545 GB Notification: Performance of pre-optimization done (n=11): time 1.653e-06/0.01884, allocations: 0 / 0.6291 GB, free: 9.805 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.001251/0.02009, allocations: 452.6 kB / 0.6295 GB, free: 9.359 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.659e-05/0.02014, allocations: 51.41 kB / 0.6296 GB, free: 9.297 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004775/0.02062, allocations: 421.9 kB / 0.63 GB, free: 8.883 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.01e-05/0.02065, allocations: 29.7 kB / 0.63 GB, free: 8.848 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001532/0.0208, allocations: 184.2 kB / 0.6302 GB, free: 8.664 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.46e-05/0.02084, allocations: 35.69 kB / 0.6302 GB, free: 8.629 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.117e-05/0.02094, allocations: 41.62 kB / 0.6303 GB, free: 8.582 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001717/0.02111, allocations: 354.8 kB / 0.6306 GB, free: 8.227 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004389/0.02155, allocations: 213.6 kB / 0.6308 GB, free: 8.012 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004164/0.02196, allocations: 201.6 kB / 0.631 GB, free: 7.809 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007602/0.02272, allocations: 364.4 kB / 0.6313 GB, free: 7.445 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.02272, allocations: 0 / 0.6313 GB, free: 7.445 MB / 0.545 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0009829/0.02371, allocations: 0.5177 MB / 0.6319 GB, free: 6.91 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.067e-05/0.02376, allocations: 41.69 kB / 0.6319 GB, free: 6.863 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.02376, allocations: 0 / 0.6319 GB, free: 6.863 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.02378, allocations: 4 kB / 0.6319 GB, free: 6.859 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003039/0.02408, allocations: 51.94 kB / 0.6319 GB, free: 6.809 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.02409, allocations: 0 / 0.6319 GB, free: 6.809 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002438/0.02433, allocations: 35.86 kB / 0.632 GB, free: 6.773 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.164e-05/0.02435, allocations: 7.984 kB / 0.632 GB, free: 6.766 MB / 0.545 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.0001931/0.02455, allocations: 158.7 kB / 0.6321 GB, free: 6.602 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.116e-05/0.02461, allocations: 39.7 kB / 0.6322 GB, free: 6.562 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008709/0.02548, allocations: 344.7 kB / 0.6325 GB, free: 6.215 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.02548, allocations: 7.984 kB / 0.6325 GB, free: 6.207 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.02549, allocations: 0 / 0.6325 GB, free: 6.207 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.02549, allocations: 0 / 0.6325 GB, free: 6.207 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003249/0.02582, allocations: 265.1 kB / 0.6328 GB, free: 5.918 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/0.02582, allocations: 7.984 kB / 0.6328 GB, free: 5.91 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002776/0.0261, allocations: 47.95 kB / 0.6328 GB, free: 5.863 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.0261, allocations: 0 / 0.6328 GB, free: 5.863 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.695e-05/0.02612, allocations: 3.984 kB / 0.6328 GB, free: 5.859 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.02612, allocations: 0 / 0.6328 GB, free: 5.859 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.02612, allocations: 4 kB / 0.6328 GB, free: 5.855 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008397/0.02696, allocations: 426.9 kB / 0.6332 GB, free: 5.422 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001185/0.02708, allocations: 55.67 kB / 0.6333 GB, free: 5.367 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.033e-05/0.02712, allocations: 8 kB / 0.6333 GB, free: 5.359 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002549/0.02737, allocations: 19.97 kB / 0.6333 GB, free: 5.34 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.124e-05/0.02744, allocations: 19.97 kB / 0.6333 GB, free: 5.32 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.02745, allocations: 0 / 0.6333 GB, free: 5.32 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003608/0.02782, allocations: 299.1 kB / 0.6336 GB, free: 5.027 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.02782, allocations: 0 / 0.6336 GB, free: 5.027 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004761/0.02829, allocations: 123.8 kB / 0.6337 GB, free: 4.906 MB / 0.545 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.0003704/0.02866, allocations: 187 kB / 0.6339 GB, free: 4.715 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000987/0.02965, allocations: 460.7 kB / 0.6344 GB, free: 4.246 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.02965, allocations: 4 kB / 0.6344 GB, free: 4.242 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003775/0.03003, allocations: 139.8 kB / 0.6345 GB, free: 4.105 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004815/0.03051, allocations: 65.55 kB / 0.6346 GB, free: 4.039 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001183/0.03169, allocations: 0.6084 MB / 0.6351 GB, free: 3.406 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002159/0.03191, allocations: 179.2 kB / 0.6353 GB, free: 3.211 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001799/0.03209, allocations: 49.92 kB / 0.6354 GB, free: 3.16 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.302e-05/0.03217, allocations: 28.48 kB / 0.6354 GB, free: 3.129 MB / 0.545 GB Notification: Performance of SimCode: time 3.11e-07/0.03217, allocations: 0 / 0.6354 GB, free: 3.129 MB / 0.545 GB Notification: Performance of Templates: time 0.01025/0.04242, allocations: 5.099 MB / 0.6404 GB, free: 14.13 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile [Timeout 660] (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 & ./IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.896293319761753] Failed to read output from testmodel.py, exit status != 0: 0.05142934061586857 0.066152689 0.049801370000000005 Calling exit ...