Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.InvertingBasicFlowFunction_dp,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",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.001603/0.001603, allocations: 103.3 kB / 16.4 MB, free: 6.508 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.00184/0.00184, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.424/1.424, 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.7174/0.7174, allocations: 115.3 MB / 406.5 MB, free: 6.18 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 68.67 kB / 0.5572 GB, free: 32.63 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.173/0.1743, allocations: 76.18 MB / 0.6316 GB, free: 4.934 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002517/0.1769, allocations: 1.235 MB / 0.6328 GB, free: 3.688 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00099/0.1779, allocations: 0.5802 MB / 0.6334 GB, free: 3.105 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.87e-05/0.178, allocations: 0 / 0.6334 GB, free: 3.105 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.104e-05/0.178, allocations: 4 kB / 0.6334 GB, free: 3.102 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 7.383e-05/0.1781, allocations: 7.922 kB / 0.6334 GB, free: 3.094 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006588/0.1787, allocations: 137.9 kB / 0.6335 GB, free: 2.961 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 6.524e-05/0.1788, allocations: 11.92 kB / 0.6335 GB, free: 2.949 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.488e-05/0.1789, allocations: 8 kB / 0.6335 GB, free: 2.941 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.105e-05/0.1789, allocations: 0 / 0.6335 GB, free: 2.941 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.875e-05/0.179, allocations: 4 kB / 0.6335 GB, free: 2.938 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.448e-05/0.179, allocations: 3.984 kB / 0.6335 GB, free: 2.934 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00063/0.1796, allocations: 347.3 kB / 0.6339 GB, free: 2.594 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.366e-05/0.1797, allocations: 3.938 kB / 0.6339 GB, free: 2.59 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.402e-05/0.1797, allocations: 3.984 kB / 0.6339 GB, free: 2.586 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002988/0.18, allocations: 143.1 kB / 0.634 GB, free: 2.449 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.18, allocations: 3.984 kB / 0.634 GB, free: 2.445 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.18, allocations: 0 / 0.634 GB, free: 2.445 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.66e-06/0.18, allocations: 0 / 0.634 GB, free: 2.445 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004659/0.1805, allocations: 351.7 kB / 0.6343 GB, free: 2.051 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.1806, allocations: 12.03 kB / 0.6343 GB, free: 2.039 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.845e-05/0.1806, allocations: 30.75 kB / 0.6344 GB, free: 2 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.571e-05/0.1806, allocations: 4.938 kB / 0.6344 GB, free: 1.996 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/0.1808, allocations: 168.3 kB / 0.6345 GB, free: 1.793 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.735e-06/0.1808, allocations: 384 / 0.6345 GB, free: 1.793 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.077e-05/0.1808, allocations: 4.375 kB / 0.6345 GB, free: 1.789 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001027/0.1809, allocations: 38.19 kB / 0.6346 GB, free: 1.746 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.181, allocations: 3.938 kB / 0.6346 GB, free: 1.742 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.181, allocations: 0 / 0.6346 GB, free: 1.742 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.181, allocations: 0 / 0.6346 GB, free: 1.742 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.258e-05/0.181, allocations: 11.94 kB / 0.6346 GB, free: 1.73 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000185/0.1812, allocations: 149.7 kB / 0.6347 GB, free: 1.535 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.948e-05/0.1813, allocations: 26.61 kB / 0.6348 GB, free: 1.5 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.128e-05/0.1813, allocations: 4.859 kB / 0.6348 GB, free: 1.492 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.1813, allocations: 0 / 0.6348 GB, free: 1.492 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/0.1814, allocations: 38.56 kB / 0.6348 GB, free: 1.445 MB / 478.1 MB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.1814, allocations: 0 / 0.6348 GB, free: 1.445 MB / 478.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001687/0.1816, allocations: 49.62 kB / 0.6349 GB, free: 1.391 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.628e-05/0.1816, allocations: 51.41 kB / 0.6349 GB, free: 1.328 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.668e-05/0.1817, allocations: 93.86 kB / 0.635 GB, free: 1.227 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.1817, allocations: 29.7 kB / 0.635 GB, free: 1.191 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.163e-05/0.1818, allocations: 80.14 kB / 0.6351 GB, free: 1.109 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.556e-05/0.1818, allocations: 3.906 kB / 0.6351 GB, free: 1.105 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.841e-05/0.1819, allocations: 17.7 kB / 0.6351 GB, free: 1.082 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.182, allocations: 319.1 kB / 0.6354 GB, free: 0.7617 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.654e-05/0.182, allocations: 7.938 kB / 0.6354 GB, free: 0.7539 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.228e-06/0.182, allocations: 0 / 0.6354 GB, free: 0.7539 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.68e-05/0.1821, allocations: 16.8 kB / 0.6354 GB, free: 0.7344 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1821, allocations: 0 / 0.6354 GB, free: 0.7344 MB / 478.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.71e-05/0.1822, allocations: 45.69 kB / 0.6355 GB, free: 0.6836 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.1822, allocations: 7.938 kB / 0.6355 GB, free: 0.6758 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.1822, allocations: 0 / 0.6355 GB, free: 0.6758 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.1822, allocations: 96 / 0.6355 GB, free: 0.6758 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001715/0.1824, allocations: 12 kB / 0.6355 GB, free: 0.6641 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004468/0.1829, allocations: 0.586 MB / 0.6361 GB, free: 56 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.12e-05/0.1829, allocations: 0 / 0.6361 GB, free: 56 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.1829, allocations: 4.031 kB / 0.6361 GB, free: 52 kB / 478.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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001153/0.1831, allocations: 114.4 kB / 0.6362 GB, free: 15.93 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.969e-06/0.1831, allocations: 4.094 kB / 0.6362 GB, free: 15.93 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00012/0.1832, allocations: 44.81 kB / 0.6362 GB, free: 15.88 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.1832, allocations: 4 kB / 0.6362 GB, free: 15.87 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.1832, allocations: 0 / 0.6362 GB, free: 15.87 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.1832, allocations: 0 / 0.6362 GB, free: 15.87 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001297/0.1834, allocations: 149.5 kB / 0.6364 GB, free: 15.68 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.99e-06/0.1834, allocations: 7.984 kB / 0.6364 GB, free: 15.67 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.035e-05/0.1835, allocations: 7.938 kB / 0.6364 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.1835, allocations: 4 kB / 0.6364 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.1835, allocations: 0 / 0.6364 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003684/0.1839, allocations: 0.5861 MB / 0.637 GB, free: 15.05 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.1839, allocations: 3.938 kB / 0.637 GB, free: 15.04 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.367e-05/0.184, allocations: 65.16 kB / 0.637 GB, free: 14.96 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.524e-05/0.1841, allocations: 81.11 kB / 0.6371 GB, free: 14.86 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.323e-05/0.1841, allocations: 12 kB / 0.6371 GB, free: 14.85 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.732e-05/0.1841, allocations: 0 / 0.6371 GB, free: 14.85 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.051e-05/0.1841, allocations: 7.922 kB / 0.6371 GB, free: 14.84 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/0.1841, allocations: 0 / 0.6371 GB, free: 14.84 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.716e-05/0.1842, allocations: 79.28 kB / 0.6372 GB, free: 14.77 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1842, allocations: 0 / 0.6372 GB, free: 14.77 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002911/0.1845, allocations: 11.94 kB / 0.6372 GB, free: 14.75 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004814/0.185, allocations: 0.6087 MB / 0.6378 GB, free: 14.11 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001879/0.1852, allocations: 19.88 kB / 0.6378 GB, free: 14.09 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.1852, allocations: 0 / 0.6378 GB, free: 14.09 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001028/0.1853, allocations: 15.98 kB / 0.6379 GB, free: 14.08 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001956/0.1855, allocations: 3.938 kB / 0.6379 GB, free: 14.07 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005843/0.1861, allocations: 143.9 kB / 0.638 GB, free: 13.89 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002885/0.1864, allocations: 0.6768 MB / 0.6387 GB, free: 13.19 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.646e-05/0.1865, allocations: 0 / 0.6387 GB, free: 13.19 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.769e-05/0.1865, allocations: 7.438 kB / 0.6387 GB, free: 13.18 MB / 494.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1865, allocations: 0 / 0.6387 GB, free: 13.18 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04339/0.2299, allocations: 1.393 MB / 0.64 GB, free: 11.98 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.61/12.84, allocations: 13.16 kB / 0.64 GB, free: 11.97 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)