Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00116/0.001161, allocations: 99.08 kB / 15.05 MB, free: 1.105 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.001039/0.001039, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.943/1.943, allocations: 205.4 MB / 222.1 MB, free: 5.5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.873/1.873, allocations: 292.6 MB / 0.5497 GB, free: 14.63 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006176/0.0006177, allocations: 14.62 kB / 0.6737 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2973/0.298, allocations: 116.3 MB / 0.7872 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.002066/0.3001, allocations: 1.543 MB / 0.7887 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003486/0.3036, allocations: 3.023 MB / 0.7917 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.999e-05/0.3037, allocations: 0 / 0.7917 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000197/0.3039, allocations: 51.72 kB / 0.7917 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003566/0.3042, allocations: 123.6 kB / 0.7919 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 5.426e-05/0.3043, allocations: 15.98 kB / 0.7919 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001732/0.3045, allocations: 111.8 kB / 0.792 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.3046, allocations: 25.67 kB / 0.792 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001608/0.3048, allocations: 71.62 kB / 0.7921 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001184/0.3049, allocations: 67.69 kB / 0.7921 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.894e-05/0.3049, allocations: 4 kB / 0.7921 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.414e-05/0.305, allocations: 19.98 kB / 0.7922 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.041e-05/0.3051, allocations: 35.83 kB / 0.7922 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.128e-05/0.3051, allocations: 49.64 kB / 0.7922 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001348/0.3053, allocations: 107.8 kB / 0.7923 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.796e-06/0.3053, allocations: 0 / 0.7923 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3053, allocations: 0 / 0.7923 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.563e-06/0.3053, allocations: 4 kB / 0.7923 GB, free: 6.605 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007777/0.3061, allocations: 0.4932 MB / 0.7928 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.3061, allocations: 8.031 kB / 0.7928 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.214e-05/0.3062, allocations: 34.56 kB / 0.7929 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.11e-05/0.3062, allocations: 23.77 kB / 0.7929 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003471/0.3066, allocations: 233.7 kB / 0.7931 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.3066, allocations: 7.984 kB / 0.7931 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.809e-05/0.3066, allocations: 4 kB / 0.7931 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003389/0.307, allocations: 145.5 kB / 0.7933 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.307, allocations: 4 kB / 0.7933 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.307, allocations: 0 / 0.7933 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.251e-05/0.307, allocations: 11.98 kB / 0.7933 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004348/0.3075, allocations: 155.8 kB / 0.7934 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006954/0.3082, allocations: 452.5 kB / 0.7939 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004118/0.3086, allocations: 174.5 kB / 0.794 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.064e-05/0.3086, allocations: 4 kB / 0.794 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.579e-05/0.3087, allocations: 34.5 kB / 0.7941 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.322e-06/0.3087, allocations: 0 / 0.7941 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0008212/0.3095, allocations: 316.8 kB / 0.7944 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.005e-05/0.3095, allocations: 51.41 kB / 0.7944 GB, free: 4.301 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001919/0.3097, allocations: 209 kB / 0.7946 GB, free: 4.09 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.3098, allocations: 25.7 kB / 0.7946 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.674e-05/0.3099, allocations: 120.1 kB / 0.7947 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.004e-05/0.3099, allocations: 43.36 kB / 0.7948 GB, free: 3.895 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.697e-06/0.3099, allocations: 0 / 0.7948 GB, free: 3.895 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.3101, allocations: 334.8 kB / 0.7951 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000221/0.3103, allocations: 79.94 kB / 0.7952 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002195/0.3105, allocations: 79.94 kB / 0.7953 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002315/0.3108, allocations: 87.88 kB / 0.7953 GB, free: 3.316 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3108, allocations: 0 / 0.7953 GB, free: 3.316 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005085/0.3113, allocations: 229.3 kB / 0.7956 GB, free: 3.086 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.3113, allocations: 4 kB / 0.7956 GB, free: 3.082 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.3113, allocations: 0 / 0.7956 GB, free: 3.082 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.3113, allocations: 7.953 kB / 0.7956 GB, free: 3.074 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002334/0.3116, allocations: 35.97 kB / 0.7956 GB, free: 3.039 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.3116, allocations: 0 / 0.7956 GB, free: 3.039 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001433/0.3117, allocations: 23.92 kB / 0.7956 GB, free: 3.016 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.898e-05/0.3118, allocations: 11.98 kB / 0.7956 GB, free: 3.004 MB / 0.6075 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001153/0.3119, allocations: 125.8 kB / 0.7958 GB, free: 2.871 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.905e-05/0.3119, allocations: 15.81 kB / 0.7958 GB, free: 2.855 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.48e-05/0.312, allocations: 29.77 kB / 0.7958 GB, free: 2.824 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.312, allocations: 3.953 kB / 0.7958 GB, free: 2.82 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.312, allocations: 4 kB / 0.7958 GB, free: 2.816 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.312, allocations: 4 kB / 0.7958 GB, free: 2.812 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00028/0.3123, allocations: 257.4 kB / 0.7961 GB, free: 2.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.3123, allocations: 4 kB / 0.7961 GB, free: 2.508 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002098/0.3125, allocations: 35.97 kB / 0.7961 GB, free: 2.473 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.3125, allocations: 0 / 0.7961 GB, free: 2.473 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.895e-05/0.3126, allocations: 11.98 kB / 0.7961 GB, free: 2.461 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.3126, allocations: 0 / 0.7961 GB, free: 2.461 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.3126, allocations: 3.953 kB / 0.7961 GB, free: 2.457 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005577/0.3131, allocations: 330.3 kB / 0.7964 GB, free: 2.121 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/0.3133, allocations: 116.7 kB / 0.7965 GB, free: 1.988 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.972e-05/0.3133, allocations: 0 / 0.7965 GB, free: 1.988 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001735/0.3135, allocations: 15.98 kB / 0.7966 GB, free: 1.973 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.242e-05/0.3135, allocations: 11.98 kB / 0.7966 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.437e-05/0.3136, allocations: 7.953 kB / 0.7966 GB, free: 1.953 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001217/0.3137, allocations: 156.5 kB / 0.7967 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3137, allocations: 0 / 0.7967 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002672/0.314, allocations: 36 kB / 0.7968 GB, free: 1.766 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00086/0.3148, allocations: 0.8551 MB / 0.7976 GB, free: 0.8867 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000492/0.3153, allocations: 183.8 kB / 0.7978 GB, free: 0.707 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.3153, allocations: 4 kB / 0.7978 GB, free: 0.7031 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002395/0.3156, allocations: 99.92 kB / 0.7979 GB, free: 0.6055 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003088/0.3159, allocations: 27.03 kB / 0.7979 GB, free: 0.582 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00209/0.318, allocations: 1.284 MB / 0.7992 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002798/0.3183, allocations: 0.7313 MB / 0.7999 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000181/0.3185, allocations: 56.56 kB / 0.7999 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.691e-05/0.3186, allocations: 51.41 kB / 0.8 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of SimCode: time 3.3e-07/0.3186, allocations: 4 kB / 0.8 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01493/0.3335, allocations: 3.346 MB / 0.8032 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001867/0.3338, allocations: 198.4 kB / 0.8034 GB, free: 11 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.987/2.321, allocations: 0 / 0.8034 GB, free: 11 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.fmu > Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) Environment - environmentSimulation: