Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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_m_flow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",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.001463/0.001463, allocations: 103.3 kB / 16.4 MB, free: 6.492 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.001639/0.00164, allocations: 195.8 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.341/1.341, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6731/0.6731, allocations: 115.3 MB / 406.5 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001128/0.001128, allocations: 61.47 kB / 0.5572 GB, free: 32.49 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1377, 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_m_flow): time 0.002416/0.1401, allocations: 1.229 MB / 0.6328 GB, free: 3.695 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001011/0.1412, allocations: 0.5842 MB / 0.6334 GB, free: 3.109 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.082e-05/0.1412, allocations: 0 / 0.6334 GB, free: 3.109 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.132e-05/0.1412, allocations: 7.875 kB / 0.6334 GB, free: 3.102 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.769e-05/0.1413, allocations: 0 / 0.6334 GB, free: 3.102 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006004/0.1419, allocations: 150.1 kB / 0.6335 GB, free: 2.957 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 5.872e-05/0.142, allocations: 15.94 kB / 0.6335 GB, free: 2.941 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.542e-05/0.1421, allocations: 0 / 0.6335 GB, free: 2.941 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.027e-05/0.1421, allocations: 4 kB / 0.6335 GB, free: 2.938 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.602e-05/0.1421, allocations: 3.984 kB / 0.6335 GB, free: 2.934 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.067e-05/0.1421, allocations: 0 / 0.6335 GB, free: 2.934 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005409/0.1427, allocations: 347.3 kB / 0.6339 GB, free: 2.594 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.22e-05/0.1427, allocations: 3.938 kB / 0.6339 GB, free: 2.59 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.089e-05/0.1427, allocations: 0 / 0.6339 GB, free: 2.59 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002772/0.143, allocations: 139.1 kB / 0.634 GB, free: 2.457 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.143, allocations: 4 kB / 0.634 GB, free: 2.453 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.143, allocations: 0 / 0.634 GB, free: 2.453 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.1431, allocations: 3.938 kB / 0.634 GB, free: 2.449 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.0004167/0.1435, allocations: 355.7 kB / 0.6343 GB, free: 2.051 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.1435, allocations: 12.03 kB / 0.6344 GB, free: 2.039 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.497e-05/0.1436, allocations: 30.75 kB / 0.6344 GB, free: 2 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.211e-05/0.1436, allocations: 0.9375 kB / 0.6344 GB, free: 2 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/0.1437, allocations: 168.3 kB / 0.6345 GB, free: 1.797 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.1437, allocations: 4.375 kB / 0.6346 GB, free: 1.793 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.899e-06/0.1438, allocations: 4.375 kB / 0.6346 GB, free: 1.789 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.566e-05/0.1439, allocations: 38.27 kB / 0.6346 GB, free: 1.746 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/0.1439, allocations: 3.938 kB / 0.6346 GB, free: 1.742 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.1439, allocations: 0 / 0.6346 GB, free: 1.742 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.1439, allocations: 0 / 0.6346 GB, free: 1.742 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.529e-05/0.1439, allocations: 4 kB / 0.6346 GB, free: 1.738 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001572/0.1441, allocations: 153.6 kB / 0.6347 GB, free: 1.539 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.966e-05/0.1441, allocations: 26.61 kB / 0.6348 GB, free: 1.504 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.623e-05/0.1442, allocations: 4.859 kB / 0.6348 GB, free: 1.496 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.574e-05/0.1442, allocations: 4.062 kB / 0.6348 GB, free: 1.492 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.1442, allocations: 34.55 kB / 0.6348 GB, free: 1.449 MB / 478.1 MB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.1442, allocations: 0 / 0.6348 GB, free: 1.449 MB / 478.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001515/0.1444, allocations: 45.58 kB / 0.6349 GB, free: 1.398 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.155e-05/0.1444, allocations: 51.41 kB / 0.6349 GB, free: 1.336 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.302e-05/0.1445, allocations: 102 kB / 0.635 GB, free: 1.227 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/0.1445, allocations: 25.7 kB / 0.635 GB, free: 1.195 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.255e-05/0.1446, allocations: 84.12 kB / 0.6351 GB, free: 1.109 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.387e-05/0.1446, allocations: 11.89 kB / 0.6351 GB, free: 1.098 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.821e-05/0.1446, allocations: 9.719 kB / 0.6351 GB, free: 1.082 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.1448, allocations: 318.8 kB / 0.6354 GB, free: 0.7617 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.302e-05/0.1448, allocations: 4 kB / 0.6354 GB, free: 0.7578 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.704e-06/0.1448, allocations: 0 / 0.6354 GB, free: 0.7578 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.072e-05/0.1448, allocations: 21.05 kB / 0.6355 GB, free: 0.7344 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1448, allocations: 0 / 0.6355 GB, free: 0.7344 MB / 478.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.572e-05/0.1449, allocations: 41.62 kB / 0.6355 GB, free: 0.6875 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.1449, allocations: 9.344 kB / 0.6355 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.1449, allocations: 0 / 0.6355 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.145, allocations: 0 / 0.6355 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001507/0.1451, allocations: 11.98 kB / 0.6355 GB, free: 0.668 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003702/0.1455, allocations: 0.5822 MB / 0.6361 GB, free: 64 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.965e-05/0.1455, allocations: 4.031 kB / 0.6361 GB, free: 60 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.009e-06/0.1455, allocations: 0 / 0.6361 GB, free: 60 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 8.525e-05/0.1456, allocations: 113.8 kB / 0.6362 GB, free: 15.94 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.028e-05/0.1456, allocations: 3.984 kB / 0.6362 GB, free: 15.93 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000115/0.1458, allocations: 56.73 kB / 0.6363 GB, free: 15.87 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.1458, allocations: 8.062 kB / 0.6363 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.1458, allocations: 0 / 0.6363 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.1458, allocations: 0 / 0.6363 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001101/0.1459, allocations: 157.5 kB / 0.6364 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.1459, allocations: 0 / 0.6364 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.297e-05/0.146, allocations: 8 kB / 0.6364 GB, free: 15.65 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.146, allocations: 3.984 kB / 0.6364 GB, free: 15.65 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.146, allocations: 0 / 0.6364 GB, free: 15.65 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003056/0.1463, allocations: 0.5938 MB / 0.637 GB, free: 15.03 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.1463, allocations: 3.938 kB / 0.637 GB, free: 15.03 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.282e-05/0.1464, allocations: 57.17 kB / 0.6371 GB, free: 14.95 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.695e-05/0.1465, allocations: 85.09 kB / 0.6371 GB, free: 14.85 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.068e-05/0.1465, allocations: 0 / 0.6371 GB, free: 14.85 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.573e-05/0.1465, allocations: 4 kB / 0.6371 GB, free: 14.85 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.736e-05/0.1465, allocations: 3.938 kB / 0.6372 GB, free: 14.84 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.465e-06/0.1465, allocations: 4.125 kB / 0.6372 GB, free: 14.84 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.357e-05/0.1466, allocations: 79.28 kB / 0.6372 GB, free: 14.76 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.1466, allocations: 0 / 0.6372 GB, free: 14.76 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000196/0.1468, 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.0004108/0.1472, allocations: 0.6164 MB / 0.6378 GB, free: 14.1 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001689/0.1474, allocations: 15.98 kB / 0.6379 GB, free: 14.09 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1474, allocations: 0 / 0.6379 GB, free: 14.09 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.214e-05/0.1475, allocations: 15.98 kB / 0.6379 GB, free: 14.07 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001457/0.1476, allocations: 7.938 kB / 0.6379 GB, free: 14.06 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004315/0.1481, allocations: 139.8 kB / 0.638 GB, free: 13.88 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000239/0.1483, allocations: 0.6768 MB / 0.6387 GB, free: 13.18 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.712e-05/0.1483, allocations: 0 / 0.6387 GB, free: 13.18 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.677e-05/0.1484, allocations: 11.44 kB / 0.6387 GB, free: 13.17 MB / 494.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1484, allocations: 0 / 0.6387 GB, free: 13.17 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01858/0.167, allocations: 1.401 MB / 0.6401 GB, free: 11.96 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.44/10.6, allocations: 0 / 0.6401 GB, free: 11.96 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)