Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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: translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009995/0.0009996, allocations: 99.38 kB / 15.37 MB, free: 0.707 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.001147/0.001147, allocations: 182.9 kB / 16.28 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.633/1.633, allocations: 205.4 MB / 222.5 MB, free: 5.551 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.732/1.732, allocations: 292.7 MB / 0.5502 GB, free: 14.47 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.0005691/0.0005691, allocations: 22.03 kB / 0.6743 GB, free: 25.91 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2319/0.2325, allocations: 116.3 MB / 0.7879 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002478/0.235, allocations: 1.636 MB / 0.7895 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005711/0.2408, allocations: 3.375 MB / 0.7928 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002112/0.2411, allocations: 0 / 0.7928 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003874/0.2415, allocations: 43.73 kB / 0.7928 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0007261/0.2422, allocations: 127.4 kB / 0.7929 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 9.343e-05/0.2423, allocations: 23.97 kB / 0.793 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003013/0.2426, allocations: 183.2 kB / 0.7931 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.2428, allocations: 21.69 kB / 0.7932 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002301/0.243, allocations: 79.62 kB / 0.7932 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002075/0.2432, allocations: 75.62 kB / 0.7933 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.442e-05/0.2433, allocations: 8 kB / 0.7933 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000106/0.2434, allocations: 23.92 kB / 0.7933 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.385e-05/0.2435, allocations: 39.83 kB / 0.7934 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001005/0.2436, allocations: 97.23 kB / 0.7935 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002301/0.2438, allocations: 163.3 kB / 0.7936 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2438, allocations: 0 / 0.7936 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.522e-06/0.2438, allocations: 0 / 0.7936 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.2438, allocations: 0 / 0.7936 GB, free: 5.645 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.001035/0.2449, allocations: 0.4984 MB / 0.7941 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.469e-05/0.2449, allocations: 8.031 kB / 0.7941 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.316e-05/0.245, allocations: 16.75 kB / 0.7941 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004579/0.2455, allocations: 246.9 kB / 0.7944 GB, free: 4.793 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.2455, allocations: 8.375 kB / 0.7944 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.444e-05/0.2456, allocations: 384 / 0.7944 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004163/0.246, allocations: 153.6 kB / 0.7945 GB, free: 4.629 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.246, allocations: 0 / 0.7945 GB, free: 4.629 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.1e-05/0.246, allocations: 0 / 0.7945 GB, free: 4.629 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.768e-05/0.2461, allocations: 19.98 kB / 0.7945 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004843/0.2466, allocations: 159.8 kB / 0.7947 GB, free: 4.453 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007973/0.2474, allocations: 456.5 kB / 0.7951 GB, free: 3.957 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004444/0.2478, allocations: 186.4 kB / 0.7953 GB, free: 3.766 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002739/0.2481, allocations: 108.8 kB / 0.7954 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.854e-05/0.2482, allocations: 7.984 kB / 0.7954 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/0.2482, allocations: 38.55 kB / 0.7955 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.402e-06/0.2482, allocations: 0 / 0.7955 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0009228/0.2491, allocations: 320.8 kB / 0.7958 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.002e-05/0.2492, allocations: 55.41 kB / 0.7958 GB, free: 3.219 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002318/0.2494, allocations: 209 kB / 0.796 GB, free: 3.008 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.504e-05/0.2495, allocations: 33.7 kB / 0.796 GB, free: 2.969 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.2496, allocations: 120 kB / 0.7962 GB, free: 2.848 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.169e-05/0.2496, allocations: 43.45 kB / 0.7962 GB, free: 2.805 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.305e-05/0.2497, allocations: 25.64 kB / 0.7962 GB, free: 2.773 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.2499, allocations: 334.8 kB / 0.7965 GB, free: 2.438 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002414/0.2501, allocations: 83.88 kB / 0.7966 GB, free: 2.355 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002264/0.2503, allocations: 87.92 kB / 0.7967 GB, free: 2.27 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004853/0.2508, allocations: 180.8 kB / 0.7969 GB, free: 2.09 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.2508, allocations: 0 / 0.7969 GB, free: 2.09 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005681/0.2514, allocations: 236.2 kB / 0.7971 GB, free: 1.855 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.2515, allocations: 4 kB / 0.7971 GB, free: 1.852 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.515e-06/0.2515, allocations: 0 / 0.7971 GB, free: 1.852 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.2515, allocations: 4 kB / 0.7971 GB, free: 1.848 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002548/0.2517, allocations: 47.95 kB / 0.7972 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.2518, allocations: 0 / 0.7972 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001775/0.2519, allocations: 19.92 kB / 0.7972 GB, free: 1.781 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.597e-05/0.252, allocations: 4 kB / 0.7972 GB, free: 1.777 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001232/0.2521, allocations: 130.4 kB / 0.7973 GB, free: 1.641 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.624e-05/0.2522, allocations: 19.72 kB / 0.7973 GB, free: 1.621 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.574e-05/0.2522, allocations: 37.77 kB / 0.7974 GB, free: 1.582 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.2522, allocations: 7.984 kB / 0.7974 GB, free: 1.574 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.2522, allocations: 0 / 0.7974 GB, free: 1.574 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.2523, allocations: 0 / 0.7974 GB, free: 1.574 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002985/0.2526, allocations: 261.5 kB / 0.7976 GB, free: 1.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.062e-06/0.2526, allocations: 3.984 kB / 0.7976 GB, free: 1.266 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002126/0.2528, allocations: 35.97 kB / 0.7977 GB, free: 1.23 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.2528, allocations: 0 / 0.7977 GB, free: 1.23 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.606e-05/0.2528, allocations: 8 kB / 0.7977 GB, free: 1.223 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.2528, allocations: 0 / 0.7977 GB, free: 1.223 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.2528, allocations: 4 kB / 0.7977 GB, free: 1.219 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006107/0.2535, allocations: 343 kB / 0.798 GB, free: 0.8672 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001209/0.2536, allocations: 112.8 kB / 0.7981 GB, free: 0.7383 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.031e-05/0.2536, allocations: 3.984 kB / 0.7981 GB, free: 0.7344 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001949/0.2538, allocations: 23.98 kB / 0.7981 GB, free: 0.7109 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.423e-05/0.2539, allocations: 7.984 kB / 0.7981 GB, free: 0.7031 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/0.2539, allocations: 4 kB / 0.7981 GB, free: 0.6992 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001383/0.254, allocations: 160.5 kB / 0.7983 GB, free: 0.543 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2541, allocations: 0 / 0.7983 GB, free: 0.543 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002897/0.2543, allocations: 35.94 kB / 0.7983 GB, free: 0.5078 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 (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.0001823/0.2545, allocations: 107.2 kB / 0.7984 GB, free: 404 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005567/0.2551, allocations: 199.7 kB / 0.7986 GB, free: 204 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2551, allocations: 0 / 0.7986 GB, free: 204 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002738/0.2554, allocations: 107.9 kB / 0.7987 GB, free: 96 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004308/0.2558, allocations: 32.34 kB / 0.7988 GB, free: 64 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008229/0.2567, allocations: 0.5084 MB / 0.7993 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003004/0.257, allocations: 0.7317 MB / 0.8 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001882/0.2572, allocations: 48.59 kB / 0.8 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.122e-05/0.2573, allocations: 15.44 kB / 0.8 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of SimCode: time 4.41e-07/0.2573, allocations: 0 / 0.8 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of Templates: time 0.004516/0.2618, allocations: 1.65 MB / 0.8016 GB, free: 13.08 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) Environment - environmentSimulation: