Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.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.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",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.001135/0.001135, allocations: 107.3 kB / 16.4 MB, free: 6.496 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.001163/0.001163, allocations: 193.2 kB / 17.34 MB, free: 5.762 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.263/1.263, 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.692/0.692, allocations: 115.3 MB / 406.5 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 68.61 kB / 0.5572 GB, free: 32.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.1431, allocations: 76.18 MB / 0.6316 GB, free: 4.902 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.00258/0.1457, allocations: 1.25 MB / 0.6328 GB, free: 3.641 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001029/0.1468, allocations: 0.6191 MB / 0.6334 GB, free: 3.02 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.463e-05/0.1468, allocations: 0 / 0.6334 GB, free: 3.02 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.358e-05/0.1468, allocations: 7.938 kB / 0.6334 GB, free: 3.012 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 3.89e-05/0.1469, allocations: 7.969 kB / 0.6334 GB, free: 3.004 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006679/0.1476, allocations: 143.4 kB / 0.6336 GB, free: 2.863 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 6.451e-05/0.1477, allocations: 15.88 kB / 0.6336 GB, free: 2.848 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.771e-05/0.1477, allocations: 3.984 kB / 0.6336 GB, free: 2.844 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.488e-05/0.1478, allocations: 12 kB / 0.6336 GB, free: 2.832 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.022e-05/0.1478, allocations: 7.922 kB / 0.6336 GB, free: 2.824 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.372e-05/0.1479, allocations: 4 kB / 0.6336 GB, free: 2.82 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005284/0.1484, allocations: 343.3 kB / 0.6339 GB, free: 2.484 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.6e-05/0.1484, allocations: 7.984 kB / 0.6339 GB, free: 2.477 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.961e-05/0.1485, allocations: 11.92 kB / 0.634 GB, free: 2.465 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002784/0.1487, allocations: 143.1 kB / 0.6341 GB, free: 2.328 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1488, allocations: 0 / 0.6341 GB, free: 2.328 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.1488, allocations: 0 / 0.6341 GB, free: 2.328 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.1488, allocations: 0 / 0.6341 GB, free: 2.328 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004438/0.1492, allocations: 363.6 kB / 0.6344 GB, free: 1.922 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.1493, allocations: 11.97 kB / 0.6345 GB, free: 1.91 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.881e-05/0.1493, allocations: 34.75 kB / 0.6345 GB, free: 1.867 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.915e-05/0.1493, allocations: 4.938 kB / 0.6345 GB, free: 1.863 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001193/0.1495, allocations: 168.4 kB / 0.6347 GB, free: 1.66 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.1495, allocations: 4.375 kB / 0.6347 GB, free: 1.656 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.811e-05/0.1495, allocations: 384 / 0.6347 GB, free: 1.656 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001171/0.1496, allocations: 42.25 kB / 0.6347 GB, free: 1.609 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.1496, allocations: 3.938 kB / 0.6347 GB, free: 1.605 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.1497, allocations: 0 / 0.6347 GB, free: 1.605 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.1497, allocations: 3.938 kB / 0.6347 GB, free: 1.602 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.097e-05/0.1497, allocations: 11.98 kB / 0.6347 GB, free: 1.59 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001711/0.1499, allocations: 165.7 kB / 0.6349 GB, free: 1.379 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000181/0.1501, allocations: 38.56 kB / 0.6349 GB, free: 1.332 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.575e-05/0.1501, allocations: 16.86 kB / 0.6349 GB, free: 1.312 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/0.1502, allocations: 0 / 0.6349 GB, free: 1.312 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.1502, allocations: 38.66 kB / 0.635 GB, free: 1.266 MB / 478.1 MB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.1502, allocations: 0 / 0.635 GB, free: 1.266 MB / 478.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006286/0.1508, allocations: 330 kB / 0.6353 GB, free: 0.8906 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.786e-05/0.1509, allocations: 55.34 kB / 0.6353 GB, free: 0.8242 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.834e-05/0.151, allocations: 97.86 kB / 0.6354 GB, free: 0.7188 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.151, allocations: 25.7 kB / 0.6354 GB, free: 0.6875 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.976e-05/0.151, allocations: 84.12 kB / 0.6355 GB, free: 0.6016 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.13e-05/0.151, allocations: 19.75 kB / 0.6355 GB, free: 0.582 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.696e-05/0.1511, allocations: 17.72 kB / 0.6356 GB, free: 0.5586 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.989e-05/0.1512, allocations: 322.8 kB / 0.6359 GB, free: 240 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.67e-05/0.1512, allocations: 8 kB / 0.6359 GB, free: 232 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.092e-05/0.1512, allocations: 12 kB / 0.6359 GB, free: 220 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.659e-05/0.1513, allocations: 32.84 kB / 0.6359 GB, free: 184 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.1513, allocations: 0 / 0.6359 GB, free: 184 kB / 478.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001022/0.1514, allocations: 77.52 kB / 0.636 GB, free: 100 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.1514, allocations: 7.938 kB / 0.636 GB, free: 92 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.1515, allocations: 0 / 0.636 GB, free: 92 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.1515, allocations: 0 / 0.636 GB, free: 92 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.078e-05/0.1515, allocations: 12 kB / 0.636 GB, free: 80 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.1516, allocations: 4 kB / 0.636 GB, free: 76 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.953e-05/0.1516, allocations: 0.5156 kB / 0.636 GB, free: 76 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.638e-06/0.1516, allocations: 0 / 0.636 GB, free: 76 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 (7): * Single equations (assignments): 7 * 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.228e-05/0.1517, allocations: 113.8 kB / 0.6361 GB, free: 15.95 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.471e-05/0.1517, allocations: 7.922 kB / 0.6361 GB, free: 15.95 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001442/0.1519, allocations: 73.59 kB / 0.6362 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1519, allocations: 0 / 0.6362 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.1519, allocations: 3.984 kB / 0.6362 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.1519, allocations: 0 / 0.6362 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000302/0.1522, allocations: 311.4 kB / 0.6365 GB, free: 15.49 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/0.1522, allocations: 3.984 kB / 0.6365 GB, free: 15.49 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.127e-05/0.1523, allocations: 19.88 kB / 0.6365 GB, free: 15.47 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.1523, allocations: 0 / 0.6365 GB, free: 15.47 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.1523, allocations: 4 kB / 0.6365 GB, free: 15.46 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.1523, allocations: 4 kB / 0.6365 GB, free: 15.46 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1523, allocations: 192 / 0.6365 GB, free: 15.46 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001858/0.1525, allocations: 192.3 kB / 0.6367 GB, free: 15.25 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.649e-05/0.1526, allocations: 81.14 kB / 0.6368 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.302e-05/0.1526, allocations: 0 / 0.6368 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.431e-05/0.1527, allocations: 3.984 kB / 0.6368 GB, free: 15.15 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.492e-05/0.1527, allocations: 7.938 kB / 0.6368 GB, free: 15.14 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.1527, allocations: 8 kB / 0.6368 GB, free: 15.14 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.46e-05/0.1527, allocations: 75.28 kB / 0.6369 GB, free: 15.06 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1528, allocations: 4.062 kB / 0.6369 GB, free: 15.06 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002458/0.153, allocations: 23.94 kB / 0.6369 GB, free: 15.04 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (dp_comp) * 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.0005467/0.1536, allocations: 0.7327 MB / 0.6376 GB, free: 14.27 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001226/0.1537, allocations: 35.92 kB / 0.6377 GB, free: 14.24 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.1537, allocations: 4.062 kB / 0.6377 GB, free: 14.23 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.167e-05/0.1537, allocations: 23.92 kB / 0.6377 GB, free: 14.21 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002278/0.154, allocations: 0.6094 kB / 0.6377 GB, free: 14.21 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001301/0.1553, allocations: 1.32 MB / 0.639 GB, free: 12.8 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002339/0.1555, allocations: 0.6845 MB / 0.6397 GB, free: 12.09 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.335e-05/0.1556, allocations: 7.984 kB / 0.6397 GB, free: 12.09 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.225e-05/0.1556, allocations: 11.44 kB / 0.6397 GB, free: 12.08 MB / 494.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1556, allocations: 0 / 0.6397 GB, free: 12.08 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0187/0.1743, allocations: 1.635 MB / 0.6413 GB, free: 10.62 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.319/7.493, allocations: 9.188 kB / 0.6413 GB, free: 10.62 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)