Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u") translateModel(Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.856/1.856, allocations: 288.4 MB / 303.7 MB, free: 8.102 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009636/0.0009636, allocations: 183.2 kB / 372.3 MB, free: 10.11 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.414/1.414, allocations: 205.4 MB / 0.631 GB, free: 9.914 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007812/0.0007811, allocations: 94.28 kB / 0.7444 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000346/0.000346, allocations: 11.5 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1725/0.1728, allocations: 115.3 MB / 0.9801 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u): time 0.002592/0.1755, allocations: 2.888 MB / 0.9829 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001506/0.177, allocations: 1.183 MB / 0.9841 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002059/0.1772, allocations: 11.94 kB / 0.9841 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002206/0.1774, allocations: 63.3 kB / 0.9842 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000343/0.1778, allocations: 143.2 kB / 0.9843 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004974/0.1783, allocations: 316.7 kB / 0.9846 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004836/0.1788, allocations: 0.7931 MB / 0.9854 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003702/0.1792, allocations: 374.3 kB / 0.9857 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001745/0.1793, allocations: 250.8 kB / 0.986 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03259/0.2119, allocations: 4.204 MB / 0.9901 GB, free: 17.59 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001663/0.2121, allocations: 32 kB / 0.9901 GB, free: 17.56 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001335/0.2123, allocations: 36 kB / 0.9901 GB, free: 17.53 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.229e-05/0.2124, allocations: 123.4 kB / 0.9903 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002265/0.2126, allocations: 323.8 kB / 0.9906 GB, free: 17.08 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005776/0.2132, allocations: 0.9076 MB / 0.9915 GB, free: 16.17 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2132, allocations: 0 / 0.9915 GB, free: 16.17 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.052e-06/0.2132, allocations: 4 kB / 0.9915 GB, free: 16.17 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.359e-05/0.2132, allocations: 0 / 0.9915 GB, free: 16.17 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.001493/0.2147, allocations: 1.054 MB / 0.9925 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 2.985e-05/0.2148, allocations: 12.03 kB / 0.9925 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001123/0.2149, allocations: 91.91 kB / 0.9926 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007097/0.2156, allocations: 0.5649 MB / 0.9931 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.091e-05/0.2157, allocations: 53.31 kB / 0.9932 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.681e-05/0.2157, allocations: 72 kB / 0.9933 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009404/0.2167, allocations: 0.6078 MB / 0.9939 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.2167, allocations: 0 / 0.9939 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.739e-05/0.2168, allocations: 28 kB / 0.9939 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.21e-05/0.2168, allocations: 19.94 kB / 0.9939 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001106/0.2179, allocations: 0.579 MB / 0.9945 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002288/0.2202, allocations: 1.727 MB / 0.9962 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009151/0.2211, allocations: 0.4933 MB / 0.9966 GB, free: 10.69 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004411/0.2216, allocations: 257.4 kB / 0.9969 GB, free: 10.44 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.65e-05/0.2216, allocations: 17.2 kB / 0.9969 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005198/0.2222, allocations: 306.9 kB / 0.9972 GB, free: 10.11 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=57): time 3.316e-06/0.2222, allocations: 0 / 0.9972 GB, free: 10.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=57): time 0.001324/0.2235, allocations: 0.7323 MB / 0.9979 GB, free: 9.379 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.302e-05/0.2235, allocations: 55.97 kB / 0.998 GB, free: 9.312 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00043/0.224, allocations: 0.5303 MB / 0.9985 GB, free: 8.773 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.887e-05/0.224, allocations: 41.7 kB / 0.9985 GB, free: 8.727 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001552/0.2242, allocations: 348.2 kB / 0.9989 GB, free: 8.379 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.913e-05/0.2243, allocations: 177.5 kB / 0.999 GB, free: 8.203 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.119e-05/0.2243, allocations: 12 kB / 0.999 GB, free: 8.191 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.014e-05/0.2244, allocations: 378.8 kB / 0.9994 GB, free: 7.812 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004053/0.2248, allocations: 201.2 kB / 0.9996 GB, free: 7.617 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005862/0.2254, allocations: 411.3 kB / 1 GB, free: 7.141 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008532/0.2262, allocations: 0.5621 MB / 1.001 GB, free: 6.52 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.2263, allocations: 0 / 1.001 GB, free: 6.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001034/0.2273, allocations: 0.6594 MB / 1.001 GB, free: 5.852 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.904e-05/0.2274, allocations: 209.3 kB / 1.001 GB, free: 5.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.2274, allocations: 7.984 kB / 1.001 GB, free: 5.582 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.2274, allocations: 8 kB / 1.001 GB, free: 5.574 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000477/0.2279, allocations: 147.7 kB / 1.002 GB, free: 5.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.788e-06/0.2279, allocations: 8 kB / 1.002 GB, free: 5.422 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004222/0.2283, allocations: 107.2 kB / 1.002 GB, free: 5.316 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.251e-05/0.2284, allocations: 28 kB / 1.002 GB, free: 5.289 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.2e-06/0.2284, allocations: 4 kB / 1.002 GB, free: 5.285 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008006/0.2292, allocations: 0.5337 MB / 1.002 GB, free: 4.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.2292, allocations: 4 kB / 1.002 GB, free: 4.746 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.31e-06/0.2292, allocations: 12 kB / 1.002 GB, free: 4.734 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004377/0.2297, allocations: 127.8 kB / 1.002 GB, free: 4.609 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.2297, allocations: 7.938 kB / 1.002 GB, free: 4.602 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003734/0.23, allocations: 91.41 kB / 1.002 GB, free: 4.512 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.701e-05/0.2301, allocations: 20 kB / 1.002 GB, free: 4.492 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.active,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,scaTem.active,$PRE.scaTem.tActivateLast,scaTem.tActivateLast,scaTem.sampleTrigger,scaYFan.active,$PRE.scaYFan.tActivateLast,scaYFan.tActivateLast,scaYFan.sampleTrigger,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 78 * 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.0002046/0.2303, allocations: 292.9 kB / 1.003 GB, free: 4.195 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.491e-05/0.2304, allocations: 67.16 kB / 1.003 GB, free: 4.129 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00108/0.2314, allocations: 0.6229 MB / 1.003 GB, free: 3.5 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.2315, allocations: 11.94 kB / 1.003 GB, free: 3.488 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.2315, allocations: 0 / 1.003 GB, free: 3.488 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.2315, allocations: 3.984 kB / 1.003 GB, free: 3.484 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002072/0.2336, allocations: 1.679 MB / 1.005 GB, free: 1.684 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.181e-06/0.2336, allocations: 4 kB / 1.005 GB, free: 1.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004006/0.234, allocations: 116.1 kB / 1.005 GB, free: 1.566 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.251e-06/0.234, allocations: 12.06 kB / 1.005 GB, free: 1.555 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.282e-05/0.234, allocations: 27.98 kB / 1.005 GB, free: 1.527 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.092e-06/0.234, allocations: 8 kB / 1.005 GB, free: 1.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/0.2341, allocations: 7.938 kB / 1.005 GB, free: 1.512 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001048/0.2351, allocations: 0.8313 MB / 1.006 GB, free: 0.5977 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001942/0.2353, allocations: 196.1 kB / 1.006 GB, free: 396 kB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.455e-05/0.2354, allocations: 19.98 kB / 1.006 GB, free: 376 kB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004264/0.2358, allocations: 47.97 kB / 1.006 GB, free: 328 kB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/0.236, allocations: 67.73 kB / 1.006 GB, free: 260 kB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.043e-05/0.236, allocations: 27.98 kB / 1.006 GB, free: 232 kB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004131/0.2364, allocations: 366.8 kB / 1.007 GB, free: 15.87 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2364, allocations: 0 / 1.007 GB, free: 15.87 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001116/0.2376, allocations: 247.1 kB / 1.007 GB, free: 15.63 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 11 (scaYFan.sampleTrigger,scaTem.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,scaTem.active,scaTem.tActivateLast,scaYFan.active,scaYFan.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003274/0.2379, allocations: 182.1 kB / 1.007 GB, free: 15.45 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001545/0.2395, allocations: 0.8068 MB / 1.008 GB, free: 14.65 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.2395, allocations: 0 / 1.008 GB, free: 14.65 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000628/0.2401, allocations: 320.7 kB / 1.008 GB, free: 14.34 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001002/0.2411, allocations: 119.1 kB / 1.008 GB, free: 14.22 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001992/0.2431, allocations: 1.48 MB / 1.01 GB, free: 12.65 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004342/0.2436, allocations: 0.9124 MB / 1.011 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0004669/0.244, allocations: 113.1 kB / 1.011 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001495/0.2442, allocations: 59.42 kB / 1.011 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of SimCode: time 1.734e-06/0.2442, allocations: 0 / 1.011 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of Templates: time 0.01181/0.256, allocations: 6.684 MB / 1.017 GB, free: 4.883 MB / 0.6355 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.pipe 2>&1)