Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",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.001269/0.001269, allocations: 105.9 kB / 16.4 MB, free: 6.48 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.001418/0.001419, allocations: 197.2 kB / 17.34 MB, free: 5.746 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.699/1.699, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7173/0.7173, allocations: 115.3 MB / 406.5 MB, free: 6.121 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001544, allocations: 68.12 kB / 0.5572 GB, free: 32.57 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1471, allocations: 76.19 MB / 0.6316 GB, free: 4.926 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.003001/0.1502, allocations: 1.261 MB / 0.6328 GB, free: 3.656 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001175/0.1514, allocations: 0.5996 MB / 0.6334 GB, free: 3.055 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.265e-05/0.1515, allocations: 3.938 kB / 0.6334 GB, free: 3.051 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.571e-05/0.1515, allocations: 4 kB / 0.6334 GB, free: 3.047 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.881e-05/0.1516, allocations: 7.922 kB / 0.6334 GB, free: 3.039 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005243/0.1521, allocations: 139.4 kB / 0.6336 GB, free: 2.902 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 5.9e-05/0.1522, allocations: 23.92 kB / 0.6336 GB, free: 2.879 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.404e-05/0.1522, allocations: 0 / 0.6336 GB, free: 2.879 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.187e-05/0.1523, allocations: 7.984 kB / 0.6336 GB, free: 2.871 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.467e-05/0.1523, allocations: 15.92 kB / 0.6336 GB, free: 2.855 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.402e-05/0.1523, allocations: 4 kB / 0.6336 GB, free: 2.852 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004709/0.1528, allocations: 339.3 kB / 0.6339 GB, free: 2.52 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.281e-05/0.1528, allocations: 4 kB / 0.6339 GB, free: 2.516 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.746e-05/0.1529, allocations: 15.91 kB / 0.6339 GB, free: 2.5 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002674/0.1531, allocations: 147.4 kB / 0.6341 GB, free: 2.359 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.1532, allocations: 0 / 0.6341 GB, free: 2.359 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1532, allocations: 0 / 0.6341 GB, free: 2.359 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.1532, allocations: 0 / 0.6341 GB, free: 2.359 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005761/0.1538, allocations: 359.4 kB / 0.6344 GB, free: 1.957 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.473e-05/0.1538, allocations: 8.031 kB / 0.6344 GB, free: 1.949 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.117e-05/0.1539, allocations: 30.75 kB / 0.6345 GB, free: 1.91 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.603e-05/0.1539, allocations: 16.84 kB / 0.6345 GB, free: 1.895 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00016/0.1541, allocations: 160.4 kB / 0.6346 GB, free: 1.699 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.1541, allocations: 384 / 0.6346 GB, free: 1.699 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.412e-05/0.1541, allocations: 4.375 kB / 0.6346 GB, free: 1.695 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.1543, allocations: 46.19 kB / 0.6347 GB, free: 1.645 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.1543, allocations: 3.938 kB / 0.6347 GB, free: 1.641 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.1543, allocations: 0 / 0.6347 GB, free: 1.641 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.1543, allocations: 0 / 0.6347 GB, free: 1.641 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.756e-05/0.1544, allocations: 19.98 kB / 0.6347 GB, free: 1.621 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000433/0.1548, allocations: 248.9 kB / 0.6349 GB, free: 1.328 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002271/0.1551, allocations: 54.56 kB / 0.635 GB, free: 1.266 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.413e-05/0.1551, allocations: 20.8 kB / 0.635 GB, free: 1.242 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.273e-05/0.1552, allocations: 3.984 kB / 0.635 GB, free: 1.238 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.192e-05/0.1552, allocations: 34.56 kB / 0.6351 GB, free: 1.195 MB / 478.1 MB Notification: Performance of pre-optimization done (n=4): time 2.845e-06/0.1552, allocations: 7.984 kB / 0.6351 GB, free: 1.188 MB / 478.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002025/0.1554, allocations: 53.69 kB / 0.6351 GB, free: 1.129 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.656e-05/0.1554, allocations: 51.41 kB / 0.6352 GB, free: 1.066 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.744e-05/0.1555, allocations: 101.8 kB / 0.6353 GB, free: 0.957 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/0.1555, allocations: 25.7 kB / 0.6353 GB, free: 0.9258 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.685e-05/0.1556, allocations: 88.05 kB / 0.6354 GB, free: 0.8359 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.611e-05/0.1556, allocations: 19.78 kB / 0.6354 GB, free: 0.8164 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.192e-05/0.1557, allocations: 13.72 kB / 0.6354 GB, free: 0.7969 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.1558, allocations: 326.7 kB / 0.6357 GB, free: 480 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.066e-05/0.1558, allocations: 7.984 kB / 0.6357 GB, free: 472 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.644e-05/0.1558, allocations: 21.72 kB / 0.6357 GB, free: 444 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.943e-05/0.1559, allocations: 29.72 kB / 0.6358 GB, free: 408 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.1559, allocations: 3.938 kB / 0.6358 GB, free: 404 kB / 478.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.61e-05/0.156, allocations: 53.62 kB / 0.6358 GB, free: 344 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.156, allocations: 12.03 kB / 0.6358 GB, free: 332 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.156, allocations: 0 / 0.6358 GB, free: 332 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.1561, allocations: 0 / 0.6358 GB, free: 332 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.345e-05/0.1561, allocations: 11.98 kB / 0.6358 GB, free: 320 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.1561, allocations: 0 / 0.6358 GB, free: 320 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.327e-05/0.1562, allocations: 0 / 0.6358 GB, free: 320 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.214e-06/0.1562, allocations: 4 kB / 0.6358 GB, free: 316 kB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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 7.954e-05/0.1563, allocations: 117.8 kB / 0.636 GB, free: 188 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.762e-05/0.1563, allocations: 7.906 kB / 0.636 GB, free: 180 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001617/0.1565, allocations: 65.11 kB / 0.636 GB, free: 104 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.1565, allocations: 4 kB / 0.636 GB, free: 100 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.1565, allocations: 0 / 0.636 GB, free: 100 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.1565, allocations: 0 / 0.636 GB, free: 100 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002051/0.1567, allocations: 161.5 kB / 0.6362 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.1567, allocations: 0 / 0.6362 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.497e-05/0.1568, allocations: 8 kB / 0.6362 GB, free: 15.88 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.1568, allocations: 0 / 0.6362 GB, free: 15.88 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.1568, allocations: 0 / 0.6362 GB, free: 15.88 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1568, allocations: 3.938 kB / 0.6362 GB, free: 15.88 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1568, allocations: 4 kB / 0.6362 GB, free: 15.88 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001286/0.1569, allocations: 151.4 kB / 0.6363 GB, free: 15.71 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.013e-05/0.157, allocations: 85.61 kB / 0.6364 GB, free: 15.61 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.414e-05/0.157, allocations: 8.125 kB / 0.6364 GB, free: 15.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.715e-05/0.157, allocations: 0 / 0.6364 GB, free: 15.6 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.755e-05/0.1571, allocations: 0 / 0.6364 GB, free: 15.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.358e-05/0.1571, allocations: 4 kB / 0.6364 GB, free: 15.6 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.142e-05/0.1571, allocations: 79.27 kB / 0.6365 GB, free: 15.52 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1571, allocations: 4 kB / 0.6365 GB, free: 15.52 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002499/0.1574, allocations: 23.98 kB / 0.6365 GB, free: 15.49 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 (4): * Single equations (assignments): 4 * 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.000477/0.1579, allocations: 0.7006 MB / 0.6372 GB, free: 14.76 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001015/0.158, allocations: 23.98 kB / 0.6372 GB, free: 14.74 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.158, allocations: 4.062 kB / 0.6373 GB, free: 14.73 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.202e-05/0.158, allocations: 15.94 kB / 0.6373 GB, free: 14.72 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002074/0.1582, allocations: 7.938 kB / 0.6373 GB, free: 14.71 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004839/0.1587, allocations: 156.3 kB / 0.6374 GB, free: 14.52 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002537/0.159, allocations: 0.6768 MB / 0.6381 GB, free: 13.81 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.202e-05/0.159, allocations: 8 kB / 0.6381 GB, free: 13.8 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.792e-05/0.1591, allocations: 11.44 kB / 0.6381 GB, free: 13.79 MB / 494.1 MB Notification: Performance of SimCode: time 3e-07/0.1591, allocations: 0 / 0.6381 GB, free: 13.79 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02093/0.18, allocations: 1.397 MB / 0.6395 GB, free: 12.53 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.119/8.299, allocations: 15.7 kB / 0.6395 GB, free: 12.52 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)