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.001536/0.001536, allocations: 108.5 kB / 16.4 MB, free: 6.434 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.001779/0.001779, allocations: 193.2 kB / 17.34 MB, free: 5.711 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.434/1.434, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8029/0.8029, allocations: 115.3 MB / 406.5 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 66.2 kB / 0.5572 GB, free: 32.5 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1384, allocations: 76.18 MB / 0.6316 GB, free: 4.91 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.00234/0.1407, allocations: 1.231 MB / 0.6328 GB, free: 3.668 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009685/0.1417, allocations: 0.5803 MB / 0.6334 GB, free: 3.086 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.847e-05/0.1418, allocations: 0 / 0.6334 GB, free: 3.086 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.867e-05/0.1418, allocations: 7.922 kB / 0.6334 GB, free: 3.078 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.26e-05/0.1419, allocations: 7.938 kB / 0.6334 GB, free: 3.07 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005835/0.1425, allocations: 145.4 kB / 0.6335 GB, free: 2.93 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 5.201e-05/0.1425, allocations: 8 kB / 0.6335 GB, free: 2.922 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.485e-05/0.1426, allocations: 3.938 kB / 0.6335 GB, free: 2.918 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.999e-05/0.1426, allocations: 4 kB / 0.6335 GB, free: 2.914 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.369e-05/0.1427, allocations: 8 kB / 0.6335 GB, free: 2.906 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.079e-05/0.1427, allocations: 0 / 0.6335 GB, free: 2.906 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000495/0.1432, allocations: 343.4 kB / 0.6339 GB, free: 2.57 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.08e-05/0.1432, allocations: 3.938 kB / 0.6339 GB, free: 2.566 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.099e-05/0.1432, allocations: 7.984 kB / 0.6339 GB, free: 2.559 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002261/0.1435, allocations: 139.1 kB / 0.634 GB, free: 2.426 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1435, allocations: 0 / 0.634 GB, free: 2.426 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1435, allocations: 0 / 0.634 GB, free: 2.426 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.229e-06/0.1435, allocations: 4 kB / 0.634 GB, free: 2.422 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.0003649/0.1439, allocations: 351.7 kB / 0.6343 GB, free: 2.027 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.1439, allocations: 8.031 kB / 0.6344 GB, free: 2.02 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.017e-05/0.1439, allocations: 34.75 kB / 0.6344 GB, free: 1.977 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.042e-05/0.144, allocations: 4.875 kB / 0.6344 GB, free: 1.973 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/0.1441, allocations: 172.3 kB / 0.6346 GB, free: 1.766 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.776e-06/0.1441, allocations: 384 / 0.6346 GB, free: 1.766 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.127e-06/0.1441, allocations: 384 / 0.6346 GB, free: 1.766 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.892e-05/0.1442, allocations: 34.25 kB / 0.6346 GB, free: 1.727 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.1442, allocations: 3.938 kB / 0.6346 GB, free: 1.723 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.793e-06/0.1442, allocations: 0 / 0.6346 GB, free: 1.723 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.1442, allocations: 4 kB / 0.6346 GB, free: 1.719 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.465e-05/0.1443, allocations: 4 kB / 0.6346 GB, free: 1.715 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001413/0.1444, allocations: 153.7 kB / 0.6347 GB, free: 1.516 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.848e-05/0.1445, allocations: 26.52 kB / 0.6348 GB, free: 1.48 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.918e-05/0.1445, allocations: 12.92 kB / 0.6348 GB, free: 1.465 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.1445, allocations: 0 / 0.6348 GB, free: 1.465 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.87e-05/0.1445, allocations: 34.56 kB / 0.6348 GB, free: 1.422 MB / 478.1 MB Notification: Performance of pre-optimization done (n=2): time 7.32e-07/0.1445, allocations: 0 / 0.6348 GB, free: 1.422 MB / 478.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001237/0.1447, allocations: 45.62 kB / 0.6349 GB, free: 1.371 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.994e-05/0.1447, allocations: 59.34 kB / 0.6349 GB, free: 1.301 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.538e-05/0.1448, allocations: 89.86 kB / 0.635 GB, free: 1.203 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.1448, allocations: 25.7 kB / 0.635 GB, free: 1.172 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.703e-05/0.1448, allocations: 84.14 kB / 0.6351 GB, free: 1.086 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.177e-05/0.1449, allocations: 8.156 kB / 0.6351 GB, free: 1.078 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.723e-05/0.1449, allocations: 17.7 kB / 0.6351 GB, free: 1.055 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.145, allocations: 318.8 kB / 0.6354 GB, free: 0.7344 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.271e-05/0.145, allocations: 4 kB / 0.6354 GB, free: 0.7305 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.556e-06/0.145, allocations: 4 kB / 0.6354 GB, free: 0.7266 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.359e-05/0.1451, allocations: 12.8 kB / 0.6355 GB, free: 0.7109 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.1451, allocations: 0 / 0.6355 GB, free: 0.7109 MB / 478.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.015e-05/0.1451, allocations: 41.69 kB / 0.6355 GB, free: 0.6641 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.1452, allocations: 15.97 kB / 0.6355 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.1452, allocations: 0 / 0.6355 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.1452, allocations: 4 kB / 0.6355 GB, free: 0.6445 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.1453, allocations: 4 kB / 0.6355 GB, free: 0.6406 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003202/0.1456, allocations: 0.586 MB / 0.6361 GB, free: 32 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.584e-05/0.1457, allocations: 0 / 0.6361 GB, free: 32 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.538e-06/0.1457, allocations: 0 / 0.6361 GB, free: 32 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.206e-05/0.1458, allocations: 113.9 kB / 0.6362 GB, free: 15.91 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.356e-06/0.1458, allocations: 4.031 kB / 0.6362 GB, free: 15.91 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.435e-05/0.1459, allocations: 48.75 kB / 0.6362 GB, free: 15.85 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.1459, allocations: 0 / 0.6362 GB, free: 15.85 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.1459, allocations: 0 / 0.6362 GB, free: 15.85 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.1459, allocations: 3.984 kB / 0.6363 GB, free: 15.85 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001025/0.146, allocations: 161.5 kB / 0.6364 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.146, allocations: 0 / 0.6364 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.076e-05/0.1461, allocations: 12.03 kB / 0.6364 GB, free: 15.63 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1461, allocations: 0 / 0.6364 GB, free: 15.63 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.44e-06/0.1461, allocations: 0 / 0.6364 GB, free: 15.63 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002857/0.1464, allocations: 0.586 MB / 0.637 GB, free: 15.02 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.1464, allocations: 3.938 kB / 0.637 GB, free: 15.02 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.547e-05/0.1465, allocations: 69.2 kB / 0.6371 GB, free: 14.93 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.947e-05/0.1465, allocations: 77.11 kB / 0.6371 GB, free: 14.84 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.007e-06/0.1465, allocations: 0 / 0.6371 GB, free: 14.84 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.686e-05/0.1466, allocations: 7.984 kB / 0.6371 GB, free: 14.83 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.477e-05/0.1466, allocations: 3.938 kB / 0.6371 GB, free: 14.82 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.1466, allocations: 4 kB / 0.6371 GB, free: 14.82 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.495e-05/0.1466, allocations: 75.28 kB / 0.6372 GB, free: 14.75 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1466, allocations: 0 / 0.6372 GB, free: 14.75 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001984/0.1468, allocations: 11.94 kB / 0.6372 GB, free: 14.73 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.0003499/0.1472, allocations: 0.6139 MB / 0.6378 GB, free: 14.09 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001645/0.1474, allocations: 19.98 kB / 0.6379 GB, free: 14.07 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1474, allocations: 0 / 0.6379 GB, free: 14.07 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.964e-05/0.1475, allocations: 16.09 kB / 0.6379 GB, free: 14.05 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000132/0.1476, allocations: 3.938 kB / 0.6379 GB, free: 14.05 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004302/0.1481, allocations: 153.6 kB / 0.638 GB, free: 13.86 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002311/0.1483, allocations: 0.6768 MB / 0.6387 GB, free: 13.16 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.489e-05/0.1483, allocations: 0 / 0.6387 GB, free: 13.16 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.334e-05/0.1484, allocations: 7.438 kB / 0.6387 GB, free: 13.15 MB / 494.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1484, allocations: 8.062 kB / 0.6387 GB, free: 13.14 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01723/0.1656, allocations: 1.391 MB / 0.6401 GB, free: 11.94 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.63/12.8, allocations: 6.109 kB / 0.6401 GB, free: 11.94 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)