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.001325/0.001325, allocations: 106.7 kB / 16.4 MB, free: 6.453 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.001224/0.001224, allocations: 193.2 kB / 17.34 MB, free: 5.719 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.39/1.39, 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.7137/0.7137, allocations: 115.3 MB / 406.5 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 63.47 kB / 0.5572 GB, free: 32.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1358, allocations: 76.18 MB / 0.6316 GB, free: 4.914 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002596/0.1385, allocations: 1.233 MB / 0.6328 GB, free: 3.672 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009833/0.1395, allocations: 0.5841 MB / 0.6334 GB, free: 3.086 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.262e-05/0.1395, allocations: 0 / 0.6334 GB, free: 3.086 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.973e-05/0.1396, allocations: 3.938 kB / 0.6334 GB, free: 3.082 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 5.65e-05/0.1397, allocations: 0 / 0.6334 GB, free: 3.082 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006259/0.1403, allocations: 147.3 kB / 0.6335 GB, free: 2.938 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 5.075e-05/0.1404, allocations: 7.938 kB / 0.6335 GB, free: 2.93 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.025e-05/0.1404, allocations: 4 kB / 0.6335 GB, free: 2.926 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.011e-05/0.1404, allocations: 7.984 kB / 0.6335 GB, free: 2.918 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.575e-05/0.1405, allocations: 7.984 kB / 0.6335 GB, free: 2.91 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 9.478e-06/0.1405, allocations: 0 / 0.6335 GB, free: 2.91 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005279/0.141, allocations: 335.3 kB / 0.6338 GB, free: 2.582 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.586e-05/0.1411, allocations: 11.97 kB / 0.6339 GB, free: 2.57 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 1.826e-05/0.1411, allocations: 7.875 kB / 0.6339 GB, free: 2.562 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002634/0.1414, allocations: 135.2 kB / 0.634 GB, free: 2.434 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.1414, allocations: 3.938 kB / 0.634 GB, free: 2.43 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1414, allocations: 0 / 0.634 GB, free: 2.43 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.917e-06/0.1414, allocations: 0 / 0.634 GB, free: 2.43 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.0004008/0.1418, allocations: 359.7 kB / 0.6343 GB, free: 2.027 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.1418, allocations: 12.03 kB / 0.6344 GB, free: 2.016 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.49e-05/0.1419, allocations: 30.75 kB / 0.6344 GB, free: 1.977 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.477e-05/0.1419, allocations: 0.9375 kB / 0.6344 GB, free: 1.977 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.142, allocations: 172.3 kB / 0.6345 GB, free: 1.77 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.1421, allocations: 384 / 0.6345 GB, free: 1.77 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.727e-06/0.1421, allocations: 4.375 kB / 0.6346 GB, free: 1.766 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.772e-05/0.1422, allocations: 30.27 kB / 0.6346 GB, free: 1.73 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.1422, allocations: 3.938 kB / 0.6346 GB, free: 1.727 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.625e-06/0.1422, allocations: 8 kB / 0.6346 GB, free: 1.719 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.1422, allocations: 0 / 0.6346 GB, free: 1.719 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.474e-05/0.1422, allocations: 0 / 0.6346 GB, free: 1.719 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001608/0.1424, allocations: 157.6 kB / 0.6347 GB, free: 1.516 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.515e-05/0.1424, allocations: 18.67 kB / 0.6348 GB, free: 1.488 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.908e-05/0.1425, allocations: 8.859 kB / 0.6348 GB, free: 1.477 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.151e-05/0.1425, allocations: 4 kB / 0.6348 GB, free: 1.473 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.129e-05/0.1425, allocations: 38.56 kB / 0.6348 GB, free: 1.426 MB / 478.1 MB Notification: Performance of pre-optimization done (n=2): time 7.71e-07/0.1425, allocations: 0 / 0.6348 GB, free: 1.426 MB / 478.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001423/0.1427, allocations: 45.56 kB / 0.6349 GB, free: 1.375 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.475e-05/0.1427, allocations: 51.41 kB / 0.6349 GB, free: 1.312 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.76e-05/0.1428, allocations: 97.86 kB / 0.635 GB, free: 1.207 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.197e-05/0.1428, allocations: 25.7 kB / 0.635 GB, free: 1.176 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.931e-05/0.1429, allocations: 80.39 kB / 0.6351 GB, free: 1.094 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.609e-05/0.1429, allocations: 11.89 kB / 0.6351 GB, free: 1.082 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.846e-05/0.1429, allocations: 17.72 kB / 0.6351 GB, free: 1.059 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.143, allocations: 310.8 kB / 0.6354 GB, free: 0.7461 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.583e-05/0.1431, allocations: 4 kB / 0.6354 GB, free: 0.7422 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.516e-06/0.1431, allocations: 3.938 kB / 0.6354 GB, free: 0.7383 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.953e-05/0.1431, allocations: 12.86 kB / 0.6354 GB, free: 0.7227 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1431, allocations: 0 / 0.6354 GB, free: 0.7227 MB / 478.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.441e-05/0.1432, allocations: 49.69 kB / 0.6355 GB, free: 0.668 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.1432, allocations: 9.344 kB / 0.6355 GB, free: 0.6602 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.1432, allocations: 0 / 0.6355 GB, free: 0.6602 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.1433, allocations: 0 / 0.6355 GB, free: 0.6602 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00015/0.1434, allocations: 11.98 kB / 0.6355 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000372/0.1438, allocations: 0.5782 MB / 0.6361 GB, free: 48 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.122e-05/0.1438, allocations: 7.938 kB / 0.6361 GB, free: 40 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.1438, allocations: 8.156 kB / 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 0.0001096/0.1439, allocations: 109.8 kB / 0.6362 GB, free: 15.91 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.345e-06/0.144, allocations: 0 / 0.6362 GB, free: 15.91 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001086/0.1441, allocations: 48.75 kB / 0.6362 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1441, allocations: 0 / 0.6362 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.1441, allocations: 4 kB / 0.6362 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-06/0.1441, allocations: 0 / 0.6362 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001056/0.1442, allocations: 157.5 kB / 0.6364 GB, free: 15.65 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1442, allocations: 4.031 kB / 0.6364 GB, free: 15.65 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.131e-05/0.1443, allocations: 8 kB / 0.6364 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.1443, allocations: 0 / 0.6364 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.1443, allocations: 4 kB / 0.6364 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003192/0.1446, allocations: 0.5899 MB / 0.637 GB, free: 15.02 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.1447, allocations: 3.938 kB / 0.637 GB, free: 15.02 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.848e-05/0.1447, allocations: 61.27 kB / 0.637 GB, free: 14.94 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.907e-05/0.1448, allocations: 81.11 kB / 0.6371 GB, free: 14.84 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.489e-05/0.1448, allocations: 7.984 kB / 0.6371 GB, free: 14.84 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.587e-05/0.1448, allocations: 3.984 kB / 0.6371 GB, free: 14.83 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.172e-05/0.1448, allocations: 3.938 kB / 0.6371 GB, free: 14.83 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-06/0.1448, allocations: 0 / 0.6371 GB, free: 14.83 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.091e-05/0.1449, allocations: 79.28 kB / 0.6372 GB, free: 14.75 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1449, allocations: 128 / 0.6372 GB, free: 14.75 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002174/0.1451, allocations: 15.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.0004321/0.1456, allocations: 0.613 MB / 0.6378 GB, free: 14.09 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001645/0.1457, allocations: 19.92 kB / 0.6379 GB, free: 14.07 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.1457, allocations: 4.094 kB / 0.6379 GB, free: 14.07 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.31e-05/0.1458, allocations: 16 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.0001513/0.146, allocations: 10.36 kB / 0.6379 GB, free: 14.04 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004743/0.1465, allocations: 143.7 kB / 0.638 GB, free: 13.86 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002438/0.1467, allocations: 0.6729 MB / 0.6387 GB, free: 13.16 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.609e-05/0.1468, allocations: 64 / 0.6387 GB, free: 13.16 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.526e-05/0.1468, allocations: 11.44 kB / 0.6387 GB, free: 13.15 MB / 494.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1468, allocations: 0 / 0.6387 GB, free: 13.15 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01982/0.1666, allocations: 1.388 MB / 0.64 GB, free: 11.95 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.54/10.71, allocations: 3.859 kB / 0.64 GB, free: 11.95 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)