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: "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_VectorFunctions",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.001389/0.001389, allocations: 101.5 kB / 16.4 MB, free: 6.5 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.00205/0.00205, allocations: 197.3 kB / 17.34 MB, free: 5.766 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.435/1.435, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7183/0.7183, allocations: 115.3 MB / 406.5 MB, free: 6.191 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 62.77 kB / 0.5572 GB, free: 32.53 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1485, allocations: 76.19 MB / 0.6316 GB, free: 4.934 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.VectorFunctions): time 0.003062/0.1516, allocations: 1.595 MB / 0.6332 GB, free: 3.328 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009262/0.1525, allocations: 0.5036 MB / 0.6336 GB, free: 2.816 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.609e-05/0.1526, allocations: 0 / 0.6336 GB, free: 2.816 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001122/0.1528, allocations: 7.875 kB / 0.6337 GB, free: 2.809 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.959e-05/0.1528, allocations: 19.86 kB / 0.6337 GB, free: 2.789 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002714/0.1531, allocations: 35.89 kB / 0.6337 GB, free: 2.754 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001309/0.1532, allocations: 87.62 kB / 0.6338 GB, free: 2.668 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001647/0.1534, allocations: 36.22 kB / 0.6338 GB, free: 2.633 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001268/0.1536, allocations: 47.8 kB / 0.6339 GB, free: 2.586 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.559e-05/0.1536, allocations: 47.75 kB / 0.6339 GB, free: 2.539 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.114e-05/0.1537, allocations: 8 kB / 0.6339 GB, free: 2.531 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.337e-05/0.1537, allocations: 12 kB / 0.6339 GB, free: 2.52 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 4.247e-05/0.1538, allocations: 15.92 kB / 0.6339 GB, free: 2.504 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 4.836e-05/0.1538, allocations: 43.73 kB / 0.634 GB, free: 2.461 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001647/0.154, allocations: 90.52 kB / 0.6341 GB, free: 2.375 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.154, allocations: 0 / 0.6341 GB, free: 2.375 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.154, allocations: 0 / 0.6341 GB, free: 2.375 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.154, allocations: 0 / 0.6341 GB, free: 2.375 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.0005587/0.1546, allocations: 403.9 kB / 0.6345 GB, free: 1.934 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.1547, allocations: 8.031 kB / 0.6345 GB, free: 1.926 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.051e-05/0.1547, allocations: 38.75 kB / 0.6345 GB, free: 1.879 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.728e-05/0.1547, allocations: 8.844 kB / 0.6345 GB, free: 1.871 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001894/0.1549, allocations: 200.1 kB / 0.6347 GB, free: 1.637 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.155, allocations: 16.38 kB / 0.6347 GB, free: 1.621 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.66e-05/0.155, allocations: 4.375 kB / 0.6347 GB, free: 1.617 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002663/0.1553, allocations: 109.8 kB / 0.6348 GB, free: 1.504 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.1553, allocations: 0 / 0.6348 GB, free: 1.504 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.1553, allocations: 4 kB / 0.6348 GB, free: 1.5 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.1553, allocations: 0 / 0.6348 GB, free: 1.5 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002215/0.1555, allocations: 95.94 kB / 0.6349 GB, free: 1.406 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006226/0.1562, allocations: 380.4 kB / 0.6353 GB, free: 0.9844 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001468/0.1563, allocations: 66.48 kB / 0.6354 GB, free: 0.9102 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001087/0.1564, allocations: 48.95 kB / 0.6354 GB, free: 0.8594 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.334e-05/0.1565, allocations: 8 kB / 0.6354 GB, free: 0.8516 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.1565, allocations: 30.56 kB / 0.6354 GB, free: 0.8125 MB / 478.1 MB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.1565, allocations: 0 / 0.6354 GB, free: 0.8125 MB / 478.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004476/0.157, allocations: 161.5 kB / 0.6356 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.406e-05/0.157, allocations: 59.34 kB / 0.6356 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.1571, allocations: 135.2 kB / 0.6358 GB, free: 448 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.1572, allocations: 29.64 kB / 0.6358 GB, free: 412 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.846e-05/0.1572, allocations: 112.1 kB / 0.6359 GB, free: 296 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.939e-05/0.1573, allocations: 15.72 kB / 0.6359 GB, free: 280 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.603e-05/0.1573, allocations: 21.7 kB / 0.6359 GB, free: 252 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.1575, allocations: 318.8 kB / 0.6362 GB, free: 15.93 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001046/0.1576, allocations: 35.97 kB / 0.6363 GB, free: 15.89 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001068/0.1577, allocations: 43.97 kB / 0.6363 GB, free: 15.85 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001997/0.1579, allocations: 88.8 kB / 0.6364 GB, free: 15.76 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.1579, allocations: 0 / 0.6364 GB, free: 15.76 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000256/0.1582, allocations: 121.6 kB / 0.6365 GB, free: 15.63 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.1582, allocations: 8 kB / 0.6365 GB, free: 15.62 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.1582, allocations: 3.938 kB / 0.6365 GB, free: 15.62 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.1582, allocations: 7.938 kB / 0.6365 GB, free: 15.61 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001456/0.1584, allocations: 19.92 kB / 0.6366 GB, free: 15.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.1584, allocations: 0 / 0.6366 GB, free: 15.59 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.35e-05/0.1585, allocations: 12.33 kB / 0.6366 GB, free: 15.58 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.318e-05/0.1585, allocations: 8 kB / 0.6366 GB, free: 15.57 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 8.781e-05/0.1586, allocations: 121.8 kB / 0.6367 GB, free: 15.45 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.151e-05/0.1586, allocations: 7.844 kB / 0.6367 GB, free: 15.44 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003316/0.159, allocations: 150.3 kB / 0.6368 GB, free: 15.28 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.159, allocations: 3.938 kB / 0.6369 GB, free: 15.28 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.159, allocations: 3.938 kB / 0.6369 GB, free: 15.27 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.159, allocations: 0 / 0.6369 GB, free: 15.27 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002084/0.1592, allocations: 205.6 kB / 0.6371 GB, free: 15.02 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.1592, allocations: 3.984 kB / 0.6371 GB, free: 15.02 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001015/0.1594, allocations: 15.98 kB / 0.6371 GB, free: 15 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.1594, allocations: 3.984 kB / 0.6371 GB, free: 15 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.1594, allocations: 0 / 0.6371 GB, free: 15 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.1594, allocations: 7.938 kB / 0.6371 GB, free: 14.99 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1594, allocations: 0 / 0.6371 GB, free: 14.99 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003288/0.1597, allocations: 223.4 kB / 0.6373 GB, free: 14.76 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.318e-05/0.1598, allocations: 81.02 kB / 0.6374 GB, free: 14.66 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.017e-05/0.1598, allocations: 4 kB / 0.6374 GB, free: 14.66 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.1599, allocations: 15.92 kB / 0.6374 GB, free: 14.64 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.952e-05/0.16, allocations: 15.92 kB / 0.6374 GB, free: 14.62 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.548e-06/0.16, allocations: 0 / 0.6374 GB, free: 14.62 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.2e-05/0.1601, allocations: 101 kB / 0.6375 GB, free: 14.53 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1601, allocations: 0 / 0.6375 GB, free: 14.53 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002552/0.1604, allocations: 16 kB / 0.6375 GB, free: 14.51 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.0006793/0.161, allocations: 0.7631 MB / 0.6383 GB, free: 13.72 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002947/0.1613, allocations: 96.06 kB / 0.6384 GB, free: 13.63 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1614, allocations: 0 / 0.6384 GB, free: 13.63 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001173/0.1615, allocations: 56.09 kB / 0.6384 GB, free: 13.57 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000228/0.1617, allocations: 18.12 kB / 0.6384 GB, free: 13.56 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002148/0.1639, allocations: 1.593 MB / 0.64 GB, free: 11.88 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003607/0.1643, allocations: 0.7041 MB / 0.6407 GB, free: 11.15 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001801/0.1644, allocations: 23.95 kB / 0.6407 GB, free: 11.13 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.272e-05/0.1645, allocations: 31.36 kB / 0.6407 GB, free: 11.1 MB / 494.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1645, allocations: 0 / 0.6407 GB, free: 11.1 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02011/0.1846, allocations: 2.02 MB / 0.6427 GB, free: 9.156 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.46/7.645, allocations: 19.91 kB / 0.6427 GB, free: 9.137 MB / 494.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_VectorFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_VectorFunctions.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)