Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.0008572/0.0008572, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.000871/0.000871, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8826/0.8826, allocations: 177.1 MB / 203.5 MB, free: 5.727 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.7081/0.7081, allocations: 154.6 MB / 414.5 MB, free: 0.7812 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: translateModel(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") translateModel(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.945e-06/2.945e-06, allocations: 0 / 0.6193 GB, free: 13.17 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.358e-05/3.653e-05, allocations: 2.781 kB / 0.6193 GB, free: 13.17 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.002907/0.002944, allocations: 2.105 MB / 0.6214 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.004017/0.006961, allocations: 3.915 MB / 0.6252 GB, free: 7.113 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001168/0.007078, allocations: 3.938 kB / 0.6252 GB, free: 7.109 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0008382/0.007916, allocations: 175.1 kB / 0.6254 GB, free: 6.938 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001298/0.008046, allocations: 91.16 kB / 0.6255 GB, free: 6.848 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005715/0.008618, allocations: 338.8 kB / 0.6258 GB, free: 6.52 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0006833/0.009301, allocations: 466.4 kB / 0.6262 GB, free: 6.062 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001375/0.009439, allocations: 44.83 kB / 0.6263 GB, free: 6.016 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001993/0.009638, allocations: 183.6 kB / 0.6265 GB, free: 5.836 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001518/0.00979, allocations: 135.6 kB / 0.6266 GB, free: 5.703 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.225e-05/0.009822, allocations: 20 kB / 0.6266 GB, free: 5.684 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003862/0.01021, allocations: 327.4 kB / 0.6269 GB, free: 5.363 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001166/0.01032, allocations: 119.6 kB / 0.627 GB, free: 5.246 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 9.911e-05/0.01042, allocations: 103.7 kB / 0.6271 GB, free: 5.145 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0005939/0.01102, allocations: 0.6464 MB / 0.6278 GB, free: 4.496 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.01102, allocations: 0 / 0.6278 GB, free: 4.496 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.633e-06/0.01102, allocations: 0 / 0.6278 GB, free: 4.496 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.01103, allocations: 0 / 0.6278 GB, free: 4.496 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001048/0.01208, allocations: 0.7392 MB / 0.6285 GB, free: 3.719 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/0.01213, allocations: 12.03 kB / 0.6285 GB, free: 3.707 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000702/0.01283, allocations: 236.4 kB / 0.6287 GB, free: 3.477 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005733/0.0134, allocations: 351.9 kB / 0.6291 GB, free: 3.113 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.01342, allocations: 8.562 kB / 0.6291 GB, free: 3.105 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.364e-05/0.01344, allocations: 12.38 kB / 0.6291 GB, free: 3.094 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004097/0.01385, allocations: 253.8 kB / 0.6293 GB, free: 2.84 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.01386, allocations: 0 / 0.6293 GB, free: 2.84 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.826e-05/0.01388, allocations: 4 kB / 0.6293 GB, free: 2.836 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.01389, allocations: 0 / 0.6293 GB, free: 2.836 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000535/0.01442, allocations: 331.7 kB / 0.6296 GB, free: 2.512 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008169/0.01524, allocations: 0.5936 MB / 0.6302 GB, free: 1.887 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003222/0.01556, allocations: 214.4 kB / 0.6304 GB, free: 1.668 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002767/0.01584, allocations: 176.7 kB / 0.6306 GB, free: 1.492 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 5.209e-05/0.01589, allocations: 15.98 kB / 0.6306 GB, free: 1.477 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.121e-05/0.01591, allocations: 34.56 kB / 0.6306 GB, free: 1.434 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=13): time 1.372e-06/0.01591, allocations: 0 / 0.6306 GB, free: 1.434 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13): time 0.0009446/0.01686, allocations: 0.5626 MB / 0.6312 GB, free: 0.8672 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.185e-05/0.01689, allocations: 55.41 kB / 0.6312 GB, free: 0.8008 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003202/0.01721, allocations: 453.8 kB / 0.6317 GB, free: 360 kB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.5e-05/0.01723, allocations: 29.7 kB / 0.6317 GB, free: 324 kB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.01734, allocations: 196.4 kB / 0.6319 GB, free: 124 kB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.387e-05/0.01737, allocations: 39.64 kB / 0.6319 GB, free: 84 kB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.783e-05/0.01744, allocations: 53.69 kB / 0.632 GB, free: 24 kB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.01755, allocations: 354.7 kB / 0.6323 GB, free: 15.67 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003789/0.01793, allocations: 333.7 kB / 0.6326 GB, free: 15.34 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003523/0.01828, allocations: 342.9 kB / 0.633 GB, free: 15 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006321/0.01892, allocations: 0.5202 MB / 0.6335 GB, free: 14.47 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.01892, allocations: 0 / 0.6335 GB, free: 14.47 MB / 0.6042 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008031/0.01972, allocations: 0.7673 MB / 0.6342 GB, free: 13.68 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.268e-05/0.01976, allocations: 45.69 kB / 0.6343 GB, free: 13.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.01977, allocations: 4 kB / 0.6343 GB, free: 13.63 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.01978, allocations: 0 / 0.6343 GB, free: 13.63 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000213/0.02, allocations: 71.86 kB / 0.6343 GB, free: 13.56 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.02, allocations: 0 / 0.6343 GB, free: 13.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001594/0.02016, allocations: 55.78 kB / 0.6344 GB, free: 13.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.981e-05/0.02018, allocations: 15.98 kB / 0.6344 GB, free: 13.49 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 (18): * Single equations (assignments): 17 * 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.000118/0.0203, allocations: 158.7 kB / 0.6346 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.801e-05/0.02034, allocations: 35.77 kB / 0.6346 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000675/0.02101, allocations: 440.8 kB / 0.635 GB, free: 12.86 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.02101, allocations: 0 / 0.635 GB, free: 12.86 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.02102, allocations: 4 kB / 0.635 GB, free: 12.85 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.02102, allocations: 3.984 kB / 0.635 GB, free: 12.85 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002303/0.02125, allocations: 292.9 kB / 0.6353 GB, free: 12.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.02125, allocations: 0 / 0.6353 GB, free: 12.53 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001627/0.02142, allocations: 55.92 kB / 0.6353 GB, free: 12.48 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.02142, allocations: 0 / 0.6353 GB, free: 12.48 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.576e-05/0.02143, allocations: 7.984 kB / 0.6354 GB, free: 12.47 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.02144, allocations: 4 kB / 0.6354 GB, free: 12.46 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.02144, allocations: 0 / 0.6354 GB, free: 12.46 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000627/0.02206, allocations: 0.5028 MB / 0.6359 GB, free: 11.95 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.327e-05/0.02215, allocations: 63.67 kB / 0.6359 GB, free: 11.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.734e-05/0.02217, allocations: 0 / 0.6359 GB, free: 11.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001514/0.02233, allocations: 35.95 kB / 0.6359 GB, free: 11.85 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.583e-05/0.02239, allocations: 23.97 kB / 0.636 GB, free: 11.82 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.093e-05/0.0224, allocations: 3.984 kB / 0.636 GB, free: 11.82 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000209/0.02261, allocations: 311.1 kB / 0.6363 GB, free: 11.52 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6e-08/0.02261, allocations: 0 / 0.6363 GB, free: 11.52 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003009/0.02291, allocations: 131.8 kB / 0.6364 GB, free: 11.39 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 (13): * Single equations (assignments): 13 * 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.0002648/0.02318, allocations: 183 kB / 0.6366 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007823/0.02396, allocations: 0.6315 MB / 0.6372 GB, free: 10.55 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.02396, allocations: 0 / 0.6372 GB, free: 10.55 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002814/0.02424, allocations: 186.5 kB / 0.6374 GB, free: 10.37 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003238/0.02457, allocations: 65.81 kB / 0.6374 GB, free: 10.3 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008752/0.02544, allocations: 0.7155 MB / 0.6381 GB, free: 9.555 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001297/0.02557, allocations: 195.5 kB / 0.6383 GB, free: 9.344 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001101/0.02568, allocations: 32.48 kB / 0.6383 GB, free: 9.312 MB / 0.6042 GB Notification: Performance of SimCode: time 9.61e-07/0.02568, allocations: 0 / 0.6383 GB, free: 9.312 MB / 0.6042 GB Notification: Performance of Templates: time 0.005796/0.03148, allocations: 5.813 MB / 0.644 GB, free: 3.539 MB / 0.6042 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.876320016570389] Failed to read output from testmodel.py, exit status != 0: 0.037604509852826595 0.044998105000000004 0.032307768 Calling exit ...