Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") translateModel(Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001441/0.001441, allocations: 107.4 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001687/0.001688, allocations: 190.1 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 222.9 MB / 239.8 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.768/2.768, allocations: 472.6 MB / 0.7447 GB, free: 4.961 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 64.56 kB / 0.9114 GB, free: 33.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3127/0.314, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003587/0.3176, allocations: 2.064 MB / 1.07 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003995/0.3216, allocations: 3.676 MB / 1.073 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.83e-05/0.3217, allocations: 4 kB / 1.073 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002637/0.322, allocations: 47.97 kB / 1.073 GB, free: 5.098 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002714/0.3223, allocations: 99.39 kB / 1.073 GB, free: 5 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002719/0.3226, allocations: 103.8 kB / 1.073 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002672/0.3229, allocations: 235.1 kB / 1.074 GB, free: 4.668 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.323, allocations: 48.38 kB / 1.074 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001974/0.3232, allocations: 111.5 kB / 1.074 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001416/0.3233, allocations: 111.5 kB / 1.074 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.835e-05/0.3234, allocations: 16 kB / 1.074 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001994/0.3236, allocations: 107.8 kB / 1.074 GB, free: 4.277 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.433e-05/0.3236, allocations: 35.84 kB / 1.074 GB, free: 4.242 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001036/0.3238, allocations: 95.38 kB / 1.074 GB, free: 4.148 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002982/0.3241, allocations: 271.1 kB / 1.074 GB, free: 3.883 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.3241, allocations: 0 / 1.074 GB, free: 3.883 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.585e-06/0.3241, allocations: 4 kB / 1.074 GB, free: 3.879 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.3241, allocations: 0 / 1.074 GB, free: 3.879 MB / 0.8262 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.001138/0.3252, allocations: 0.5763 MB / 1.075 GB, free: 3.254 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.3253, allocations: 8.031 kB / 1.075 GB, free: 3.246 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.863e-05/0.3253, allocations: 28.59 kB / 1.075 GB, free: 3.219 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003976/0.3257, allocations: 271.6 kB / 1.075 GB, free: 2.914 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.3258, allocations: 4.375 kB / 1.075 GB, free: 2.91 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.726e-05/0.3258, allocations: 12.38 kB / 1.075 GB, free: 2.898 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004921/0.3263, allocations: 169.6 kB / 1.075 GB, free: 2.727 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.3263, allocations: 0 / 1.075 GB, free: 2.727 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.3263, allocations: 11.88 kB / 1.075 GB, free: 2.715 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.3264, allocations: 4 kB / 1.075 GB, free: 2.711 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000713/0.3271, allocations: 193.4 kB / 1.076 GB, free: 2.523 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008168/0.3279, allocations: 492.3 kB / 1.076 GB, free: 1.992 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003786/0.3283, allocations: 134.4 kB / 1.076 GB, free: 1.852 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003191/0.3286, allocations: 108.8 kB / 1.076 GB, free: 1.742 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008235/0.3294, allocations: 0.5493 MB / 1.077 GB, free: 1.082 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.3295, allocations: 34.56 kB / 1.077 GB, free: 1.039 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=11): time 1.172e-06/0.3295, allocations: 0 / 1.077 GB, free: 1.039 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11): time 0.001123/0.3306, allocations: 353.3 kB / 1.077 GB, free: 0.6875 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.6e-05/0.3307, allocations: 59.34 kB / 1.077 GB, free: 0.6172 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002005/0.3309, allocations: 234.7 kB / 1.077 GB, free: 392 kB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.386e-05/0.3309, allocations: 33.7 kB / 1.078 GB, free: 352 kB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.761e-05/0.331, allocations: 136 kB / 1.078 GB, free: 212 kB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.174e-05/0.331, allocations: 31.47 kB / 1.078 GB, free: 180 kB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.723e-05/0.3311, allocations: 33.69 kB / 1.078 GB, free: 140 kB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.3313, allocations: 338.8 kB / 1.078 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003226/0.3316, allocations: 83.92 kB / 1.078 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003101/0.3319, allocations: 99.91 kB / 1.078 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006315/0.3325, allocations: 201.3 kB / 1.078 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3326, allocations: 0 / 1.078 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007203/0.3333, allocations: 261.2 kB / 1.079 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.3333, allocations: 4 kB / 1.079 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.3333, allocations: 0 / 1.079 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.3333, allocations: 4 kB / 1.079 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003269/0.3337, allocations: 43.94 kB / 1.079 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/0.3337, allocations: 11.94 kB / 1.079 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002122/0.3339, allocations: 27.81 kB / 1.079 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.119e-05/0.3339, allocations: 7.984 kB / 1.079 GB, free: 15.06 MB / 0.8419 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 (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 prepare postOptimizeDAE: time 0.0001171/0.3341, allocations: 129.8 kB / 1.079 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.644e-05/0.3341, allocations: 23.72 kB / 1.079 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008292/0.335, allocations: 283 kB / 1.079 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.335, allocations: 0 / 1.079 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.335, allocations: 3.938 kB / 1.079 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.335, allocations: 0 / 1.079 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000301/0.3353, allocations: 273.5 kB / 1.079 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3353, allocations: 0 / 1.079 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002913/0.3356, allocations: 47.94 kB / 1.079 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.3356, allocations: 0 / 1.079 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.811e-05/0.3357, allocations: 7.984 kB / 1.079 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3357, allocations: 0 / 1.079 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.3357, allocations: 7.938 kB / 1.079 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007771/0.3364, allocations: 362.9 kB / 1.08 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000103/0.3366, allocations: 116.7 kB / 1.08 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.447e-05/0.3366, allocations: 0 / 1.08 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002446/0.3369, allocations: 31.95 kB / 1.08 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.751e-05/0.3369, allocations: 11.92 kB / 1.08 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.71e-05/0.3369, allocations: 11.98 kB / 1.08 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001386/0.3371, allocations: 174 kB / 1.08 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3371, allocations: 0 / 1.08 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000307/0.3374, allocations: 59.98 kB / 1.08 GB, free: 13.45 MB / 0.8419 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.0001998/0.3376, allocations: 119.2 kB / 1.08 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0007239/0.3384, allocations: 215.8 kB / 1.081 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.3384, allocations: 3.938 kB / 1.081 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003616/0.3387, allocations: 119.8 kB / 1.081 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004667/0.3392, allocations: 35.53 kB / 1.081 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008654/0.3401, allocations: 488.9 kB / 1.081 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003056/0.3404, allocations: 0.7316 MB / 1.082 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001778/0.3406, allocations: 36.84 kB / 1.082 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.65e-05/0.3407, allocations: 23.42 kB / 1.082 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of SimCode: time 2.1e-07/0.3407, allocations: 0 / 1.082 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of Templates: time 0.005595/0.3463, allocations: 2.393 MB / 1.084 GB, free: 9.273 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile (rm -f Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1)