Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions") translateModel(IBPSA.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 113.3 kB / 17.08 MB, free: 5.828 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.001216/0.001216, allocations: 198.9 kB / 18.02 MB, free: 4.934 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.355/1.355, allocations: 222.9 MB / 241.7 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7459/0.7459, allocations: 115.3 MB / 407.2 MB, free: 6.18 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 66.44 kB / 0.5583 GB, free: 32.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1332, allocations: 76.18 MB / 0.6327 GB, free: 4.391 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.VectorFunctions): time 0.002507/0.1358, allocations: 1.586 MB / 0.6343 GB, free: 2.793 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008038/0.1366, allocations: 0.5113 MB / 0.6348 GB, free: 2.273 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.892e-05/0.1367, allocations: 0 / 0.6348 GB, free: 2.273 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001005/0.1368, allocations: 15.86 kB / 0.6348 GB, free: 2.258 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 3.427e-05/0.1368, allocations: 11.88 kB / 0.6348 GB, free: 2.246 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002311/0.1371, allocations: 39.88 kB / 0.6348 GB, free: 2.207 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001144/0.1372, allocations: 83.64 kB / 0.6349 GB, free: 2.125 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001476/0.1373, allocations: 44.22 kB / 0.635 GB, free: 2.082 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.423e-05/0.1374, allocations: 35.84 kB / 0.635 GB, free: 2.047 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.818e-05/0.1375, allocations: 39.84 kB / 0.635 GB, free: 2.008 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.113e-05/0.1375, allocations: 12 kB / 0.6351 GB, free: 1.996 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.25e-05/0.1376, allocations: 11.98 kB / 0.6351 GB, free: 1.984 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 3.883e-05/0.1377, allocations: 23.92 kB / 0.6351 GB, free: 1.961 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 4.664e-05/0.1377, allocations: 39.73 kB / 0.6351 GB, free: 1.922 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001534/0.1379, allocations: 95.56 kB / 0.6352 GB, free: 1.828 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1379, allocations: 0 / 0.6352 GB, free: 1.828 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1379, allocations: 0 / 0.6352 GB, free: 1.828 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.1379, allocations: 0 / 0.6352 GB, free: 1.828 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005234/0.1384, allocations: 399.1 kB / 0.6356 GB, free: 1.391 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.1385, allocations: 8.031 kB / 0.6356 GB, free: 1.383 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.95e-05/0.1385, allocations: 12.75 kB / 0.6356 GB, free: 1.371 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001742/0.1387, allocations: 200.1 kB / 0.6358 GB, free: 1.137 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.1387, allocations: 4.375 kB / 0.6358 GB, free: 1.133 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.591e-05/0.1387, allocations: 8.375 kB / 0.6358 GB, free: 1.125 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002432/0.139, allocations: 105.9 kB / 0.6359 GB, free: 1.016 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.139, allocations: 0 / 0.6359 GB, free: 1.016 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.139, allocations: 4 kB / 0.6359 GB, free: 1.012 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.139, allocations: 8 kB / 0.6359 GB, free: 1.004 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002317/0.1393, allocations: 87.94 kB / 0.636 GB, free: 0.918 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005611/0.1398, allocations: 388.4 kB / 0.6364 GB, free: 500 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000151/0.14, allocations: 62.55 kB / 0.6364 GB, free: 428 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/0.1401, allocations: 44.95 kB / 0.6365 GB, free: 380 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.11e-05/0.1402, allocations: 7.984 kB / 0.6365 GB, free: 372 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.256e-05/0.1402, allocations: 38.5 kB / 0.6365 GB, free: 324 kB / 478.1 MB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.1402, allocations: 0 / 0.6365 GB, free: 324 kB / 478.1 MB Notification: Performance of matching and sorting (n=6): time 0.000461/0.1407, allocations: 169.5 kB / 0.6367 GB, free: 148 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.234e-05/0.1407, allocations: 51.41 kB / 0.6367 GB, free: 84 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.1408, allocations: 135.2 kB / 0.6369 GB, free: 15.94 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.1408, allocations: 29.7 kB / 0.6369 GB, free: 15.91 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.196e-05/0.1409, allocations: 104.1 kB / 0.637 GB, free: 15.8 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.643e-05/0.1409, allocations: 19.75 kB / 0.637 GB, free: 15.78 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.95e-05/0.141, allocations: 21.7 kB / 0.637 GB, free: 15.75 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.1411, allocations: 318.8 kB / 0.6373 GB, free: 15.43 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001091/0.1412, allocations: 43.97 kB / 0.6374 GB, free: 15.39 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001027/0.1413, allocations: 39.97 kB / 0.6374 GB, free: 15.35 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002146/0.1416, allocations: 89.12 kB / 0.6375 GB, free: 15.26 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/0.1416, allocations: 4 kB / 0.6375 GB, free: 15.26 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002614/0.1418, allocations: 129.5 kB / 0.6376 GB, free: 15.12 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.1419, allocations: 4 kB / 0.6376 GB, free: 15.12 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.329e-06/0.1419, allocations: 0 / 0.6376 GB, free: 15.12 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.1419, allocations: 0 / 0.6376 GB, free: 15.12 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.142, allocations: 23.92 kB / 0.6377 GB, free: 15.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.142, allocations: 0 / 0.6377 GB, free: 15.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.384e-05/0.1421, allocations: 11.89 kB / 0.6377 GB, free: 15.09 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.056e-05/0.1421, allocations: 4 kB / 0.6377 GB, free: 15.08 MB / 494.1 MB 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 (6): * Single equations (assignments): 6 * 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 9.356e-05/0.1422, allocations: 125.8 kB / 0.6378 GB, free: 14.95 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.594e-05/0.1423, allocations: 11.91 kB / 0.6378 GB, free: 14.94 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003379/0.1426, allocations: 142.3 kB / 0.6379 GB, free: 14.79 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.1426, allocations: 3.938 kB / 0.638 GB, free: 14.79 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1426, allocations: 0 / 0.638 GB, free: 14.79 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1427, allocations: 0 / 0.638 GB, free: 14.79 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000207/0.1429, allocations: 205.5 kB / 0.6381 GB, free: 14.54 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1429, allocations: 0 / 0.6381 GB, free: 14.54 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001078/0.143, allocations: 23.98 kB / 0.6382 GB, free: 14.51 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.143, allocations: 7.938 kB / 0.6382 GB, free: 14.5 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.345e-06/0.143, allocations: 0 / 0.6382 GB, free: 14.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.143, allocations: 3.938 kB / 0.6382 GB, free: 14.5 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.143, allocations: 0 / 0.6382 GB, free: 14.5 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003163/0.1433, allocations: 215.6 kB / 0.6384 GB, free: 14.27 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.85e-05/0.1434, allocations: 93.02 kB / 0.6385 GB, free: 14.16 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.334e-05/0.1434, allocations: 7.984 kB / 0.6385 GB, free: 14.16 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.1435, allocations: 7.938 kB / 0.6385 GB, free: 14.15 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.679e-05/0.1436, allocations: 7.984 kB / 0.6385 GB, free: 14.14 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/0.1436, allocations: 4 kB / 0.6385 GB, free: 14.14 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.346e-05/0.1437, allocations: 101.1 kB / 0.6386 GB, free: 14.04 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1437, allocations: 0 / 0.6386 GB, free: 14.04 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002409/0.1439, allocations: 19.98 kB / 0.6386 GB, free: 14.02 MB / 494.1 MB 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 (6): * Single equations (assignments): 6 * 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.0001276/0.1441, allocations: 107.2 kB / 0.6387 GB, free: 13.91 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002793/0.1443, allocations: 95.94 kB / 0.6388 GB, free: 13.81 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1444, allocations: 0 / 0.6388 GB, free: 13.81 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001186/0.1445, allocations: 51.97 kB / 0.6389 GB, free: 13.76 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002182/0.1447, allocations: 15.86 kB / 0.6389 GB, free: 13.75 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004169/0.1451, allocations: 248.8 kB / 0.6391 GB, free: 13.47 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002545/0.1454, allocations: 0.6963 MB / 0.6398 GB, free: 12.75 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.121e-05/0.1455, allocations: 15.42 kB / 0.6398 GB, free: 12.73 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1455, allocations: 0 / 0.6398 GB, free: 12.73 MB / 494.1 MB Notification: Performance of Templates: time 0.002406/0.1479, allocations: 1.12 MB / 0.6409 GB, free: 11.62 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)