Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007953/0.0007953, allocations: 76.5 kB / 19.92 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007769/0.0007769, allocations: 169.9 kB / 23.21 MB, free: 1.355 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9195/0.9195, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5601/0.5601, allocations: 115 MB / 374.9 MB, free: 7.777 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingPowerLaw_m_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingPowerLaw_m_flow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 0.5559 GB, free: 0.9531 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.845e-05/2.031e-05, allocations: 2.281 kB / 0.5559 GB, free: 0.9492 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow): time 0.00191/0.00193, allocations: 1.347 MB / 0.5572 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0009006/0.002831, allocations: 0.8404 MB / 0.558 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.776e-05/0.002868, allocations: 0 / 0.558 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.803e-05/0.002886, allocations: 0 / 0.558 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 6.977e-05/0.002956, allocations: 15.8 kB / 0.558 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004571/0.003413, allocations: 210.9 kB / 0.5582 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 7.424e-05/0.003488, allocations: 39.78 kB / 0.5583 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 3.968e-05/0.003527, allocations: 4 kB / 0.5583 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 4.593e-05/0.003573, allocations: 19.92 kB / 0.5583 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 4.062e-05/0.003614, allocations: 11.98 kB / 0.5583 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.221e-05/0.003626, allocations: 0 / 0.5583 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003719/0.003998, allocations: 383.3 kB / 0.5587 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.703e-05/0.004015, allocations: 7.969 kB / 0.5587 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.158e-05/0.004036, allocations: 19.94 kB / 0.5587 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002933/0.00433, allocations: 291.1 kB / 0.559 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.004333, allocations: 0 / 0.559 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.153e-06/0.004334, allocations: 0 / 0.559 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.004339, allocations: 0 / 0.559 GB, free: 13.77 MB / 0.5261 GB 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.0003547/0.004694, allocations: 341.4 kB / 0.5593 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.00473, allocations: 8.031 kB / 0.5593 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.659e-05/0.004757, allocations: 34.75 kB / 0.5593 GB, free: 13.35 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001582/0.004915, allocations: 16.91 kB / 0.5594 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.957e-05/0.005014, allocations: 117.7 kB / 0.5595 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.005029, allocations: 12.31 kB / 0.5595 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.117e-06/0.005038, allocations: 384 / 0.5595 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000104/0.005142, allocations: 45.98 kB / 0.5595 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.044e-06/0.005149, allocations: 0 / 0.5595 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/0.005158, allocations: 4 kB / 0.5595 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.005162, allocations: 0 / 0.5595 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.817e-05/0.005221, allocations: 15.98 kB / 0.5595 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001195/0.00534, allocations: 136.8 kB / 0.5597 GB, free: 12.94 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 9.602e-05/0.005436, allocations: 42.55 kB / 0.5597 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.616e-05/0.005472, allocations: 20.84 kB / 0.5597 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.224e-05/0.005484, allocations: 0 / 0.5597 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.716e-05/0.005502, allocations: 42.44 kB / 0.5598 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 8.71e-07/0.005502, allocations: 4 kB / 0.5598 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0001832/0.005686, allocations: 61.62 kB / 0.5598 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.76e-05/0.005713, allocations: 51.41 kB / 0.5599 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.177e-05/0.005795, allocations: 134 kB / 0.56 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.145e-05/0.005806, allocations: 29.83 kB / 0.56 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.173e-05/0.005838, allocations: 92.08 kB / 0.5601 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.43e-05/0.005852, allocations: 4 kB / 0.5601 GB, free: 12.4 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.262e-05/0.005885, allocations: 25.7 kB / 0.5602 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.457e-05/0.00596, allocations: 318.8 kB / 0.5605 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.287e-05/0.006013, allocations: 23.92 kB / 0.5605 GB, free: 12.03 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.588e-05/0.006048, allocations: 23.94 kB / 0.5605 GB, free: 12 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.043e-05/0.006129, allocations: 48.66 kB / 0.5606 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.00613, allocations: 0 / 0.5606 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001207/0.006251, allocations: 89.62 kB / 0.5606 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.006264, allocations: 9.812 kB / 0.5606 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.497e-05/0.006279, allocations: 7.938 kB / 0.5607 GB, free: 11.85 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.006291, allocations: 0 / 0.5607 GB, free: 11.85 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004369/0.006728, allocations: 79.88 kB / 0.5607 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00116/0.007888, allocations: 1.395 MB / 0.5621 GB, free: 10.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.715e-05/0.007915, allocations: 11.92 kB / 0.5621 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.697e-06/0.007924, allocations: 8.094 kB / 0.5621 GB, free: 10.24 MB / 0.5261 GB 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 (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 6.429e-05/0.007988, allocations: 113.8 kB / 0.5622 GB, free: 10.12 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.284e-06/0.007995, allocations: 3.953 kB / 0.5622 GB, free: 10.12 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.087e-05/0.008006, allocations: 11.56 kB / 0.5622 GB, free: 10.11 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.008007, allocations: 0 / 0.5622 GB, free: 10.11 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-06/0.008008, allocations: 7.938 kB / 0.5622 GB, free: 10.1 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.008011, allocations: 0 / 0.5622 GB, free: 10.1 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003293/0.00834, allocations: 128.7 kB / 0.5624 GB, free: 9.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.008342, allocations: 0 / 0.5624 GB, free: 9.93 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004479/0.00879, allocations: 107.9 kB / 0.5625 GB, free: 9.824 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.008792, allocations: 0 / 0.5625 GB, free: 9.824 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.423e-06/0.0088, allocations: 0 / 0.5625 GB, free: 9.824 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001077/0.009877, allocations: 1.399 MB / 0.5638 GB, free: 8.312 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.009878, allocations: 0 / 0.5638 GB, free: 8.312 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.172e-05/0.00997, allocations: 85.3 kB / 0.5639 GB, free: 8.211 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 8.416e-06/0.009978, allocations: 11.89 kB / 0.5639 GB, free: 8.199 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.991e-06/0.009984, allocations: 0 / 0.5639 GB, free: 8.199 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.825e-05/0.01, allocations: 0 / 0.5639 GB, free: 8.199 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.509e-05/0.01003, allocations: 11.98 kB / 0.5639 GB, free: 8.188 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.01003, allocations: 4 kB / 0.5639 GB, free: 8.184 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.049e-05/0.01007, allocations: 93.52 kB / 0.564 GB, free: 8.094 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-08/0.01007, allocations: 4 kB / 0.564 GB, free: 8.09 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001998/0.01027, allocations: 23.94 kB / 0.5641 GB, free: 8.066 MB / 0.5261 GB 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.0003767/0.01065, allocations: 0.6397 MB / 0.5647 GB, free: 7.395 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005406/0.01119, allocations: 149.5 kB / 0.5648 GB, free: 7.242 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.01119, allocations: 4.031 kB / 0.5648 GB, free: 7.238 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004533/0.01165, allocations: 107.8 kB / 0.5649 GB, free: 7.133 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002451/0.01189, allocations: 20.88 kB / 0.565 GB, free: 7.113 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00113/0.01302, allocations: 1.281 MB / 0.5662 GB, free: 5.75 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.694e-05/0.01306, allocations: 67.34 kB / 0.5663 GB, free: 5.664 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.299e-05/0.01308, allocations: 4 kB / 0.5663 GB, free: 5.66 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.428e-05/0.01311, allocations: 16.48 kB / 0.5663 GB, free: 5.645 MB / 0.5261 GB Notification: Performance of SimCode: time 6.51e-07/0.01312, allocations: 0 / 0.5663 GB, free: 5.645 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.022/0.03511, allocations: 3.049 MB / 0.5693 GB, free: 2.801 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.642/7.677, allocations: 11.34 kB / 0.5693 GB, free: 2.797 MB / 0.5261 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_OMSimulator.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_OMSimulator.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_OMSimulator.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingPowerLaw_m_flow_OMSimulator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingPowerLaw_m_flow.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_OMSimulator.pipe 2>&1) [Timeout 52.5] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_fmpy.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_fmpy.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_fmpy.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingPowerLaw_m_flow.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.257206016001874]