Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck2.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.0008013/0.0008013, allocations: 112.3 kB / 20.45 MB, free: 4.582 MB / 13.93 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.0008718/0.0008718, allocations: 213.5 kB / 23.75 MB, free: 2.117 MB / 13.93 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.9363/0.9363, allocations: 230.6 MB / 257.5 MB, free: 9.594 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.664/0.664, allocations: 158 MB / 471.9 MB, free: 7.113 MB / 362.7 MB " [Timeout remaining time 179] 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.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: translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck2") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001523/0.001523, allocations: 74.56 kB / 0.6533 GB, free: 9.723 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1447, allocations: 91.1 MB / 0.7423 GB, free: 14.52 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck2): time 0.001838/0.1465, allocations: 1.387 MB / 0.7436 GB, free: 13.12 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0008676/0.1474, allocations: 0.9237 MB / 0.7445 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.012e-05/0.1474, allocations: 0 / 0.7445 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.8e-05/0.1474, allocations: 3.938 kB / 0.7445 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 4.342e-05/0.1475, allocations: 11.94 kB / 0.7446 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006048/0.1481, allocations: 290.8 kB / 0.7448 GB, free: 11.89 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 6.615e-05/0.1481, allocations: 51.83 kB / 0.7449 GB, free: 11.84 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.365e-05/0.1482, allocations: 0 / 0.7449 GB, free: 11.84 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 2.724e-05/0.1482, allocations: 27.92 kB / 0.7449 GB, free: 11.82 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 5.007e-05/0.1482, allocations: 23.86 kB / 0.7449 GB, free: 11.79 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 8.957e-06/0.1482, allocations: 0 / 0.7449 GB, free: 11.79 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004284/0.1487, allocations: 0.4915 MB / 0.7454 GB, free: 11.3 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.55e-05/0.1487, allocations: 7.938 kB / 0.7454 GB, free: 11.29 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.486e-05/0.1487, allocations: 27.92 kB / 0.7454 GB, free: 11.27 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002875/0.149, allocations: 307 kB / 0.7457 GB, free: 10.96 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.149, allocations: 3.938 kB / 0.7457 GB, free: 10.96 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.954e-06/0.149, allocations: 3.984 kB / 0.7457 GB, free: 10.96 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.149, allocations: 0 / 0.7457 GB, free: 10.96 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003164/0.1493, allocations: 357.3 kB / 0.7461 GB, free: 10.58 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.1494, allocations: 12.03 kB / 0.7461 GB, free: 10.57 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.967e-05/0.1494, allocations: 4.891 kB / 0.7461 GB, free: 10.56 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.025e-05/0.1495, allocations: 114.5 kB / 0.7462 GB, free: 10.43 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.226e-06/0.1495, allocations: 4.125 kB / 0.7462 GB, free: 10.42 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.235e-05/0.1495, allocations: 11.94 kB / 0.7462 GB, free: 10.41 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001075/0.1496, allocations: 101.1 kB / 0.7463 GB, free: 10.29 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.1496, allocations: 3.953 kB / 0.7463 GB, free: 10.29 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.849e-06/0.1496, allocations: 4 kB / 0.7463 GB, free: 10.29 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.1496, allocations: 0 / 0.7463 GB, free: 10.29 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.331e-05/0.1497, allocations: 27.92 kB / 0.7464 GB, free: 10.26 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001077/0.1498, allocations: 125.3 kB / 0.7465 GB, free: 10.11 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 9.373e-05/0.1499, allocations: 58.56 kB / 0.7465 GB, free: 10.04 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.305e-05/0.1499, allocations: 32.78 kB / 0.7466 GB, free: 10 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.539e-05/0.1499, allocations: 0 / 0.7466 GB, free: 10 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.685e-05/0.1499, allocations: 34.56 kB / 0.7466 GB, free: 9.961 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=7): time 5.71e-07/0.1499, allocations: 0 / 0.7466 GB, free: 9.961 MB / 0.5573 GB Notification: Performance of matching and sorting (n=11): time 0.0007746/0.1507, allocations: 0.4954 MB / 0.7471 GB, free: 9.41 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.106e-05/0.1507, allocations: 59.34 kB / 0.7471 GB, free: 9.34 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.624e-05/0.1508, allocations: 129.7 kB / 0.7473 GB, free: 9.203 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/0.1508, allocations: 29.7 kB / 0.7473 GB, free: 9.168 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.423e-05/0.1508, allocations: 84.42 kB / 0.7474 GB, free: 9.078 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.851e-05/0.1509, allocations: 43.64 kB / 0.7474 GB, free: 9.035 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.669e-05/0.1509, allocations: 37.7 kB / 0.7474 GB, free: 8.992 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 6.195e-05/0.151, allocations: 322.8 kB / 0.7478 GB, free: 8.668 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.052e-05/0.151, allocations: 51.97 kB / 0.7478 GB, free: 8.617 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.803e-05/0.1511, allocations: 47.98 kB / 0.7479 GB, free: 8.57 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001082/0.1512, allocations: 108.9 kB / 0.748 GB, free: 8.461 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.1512, allocations: 4 kB / 0.748 GB, free: 8.457 MB / 0.5573 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001512/0.1513, allocations: 175.2 kB / 0.7481 GB, free: 8.281 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/0.1513, allocations: 4 kB / 0.7481 GB, free: 8.277 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.852e-05/0.1514, allocations: 7.984 kB / 0.7481 GB, free: 8.27 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.1514, allocations: 0 / 0.7481 GB, free: 8.27 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.322e-05/0.1514, allocations: 20 kB / 0.7482 GB, free: 8.25 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.1514, allocations: 0 / 0.7482 GB, free: 8.25 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.731e-05/0.1515, allocations: 4 kB / 0.7482 GB, free: 8.246 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.1515, allocations: 11.98 kB / 0.7482 GB, free: 8.234 MB / 0.5573 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 (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 5.868e-05/0.1515, allocations: 117.8 kB / 0.7483 GB, free: 8.109 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.206e-06/0.1515, allocations: 7.953 kB / 0.7483 GB, free: 8.102 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001593/0.1517, allocations: 130 kB / 0.7484 GB, free: 7.969 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.72e-07/0.1517, allocations: 0 / 0.7484 GB, free: 7.969 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.1517, allocations: 0 / 0.7484 GB, free: 7.969 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.1517, allocations: 0 / 0.7484 GB, free: 7.969 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003087/0.152, allocations: 318.7 kB / 0.7487 GB, free: 7.621 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.152, allocations: 0 / 0.7487 GB, free: 7.621 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.681e-05/0.1521, allocations: 23.98 kB / 0.7487 GB, free: 7.598 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.1521, allocations: 0 / 0.7487 GB, free: 7.598 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.1521, allocations: 11.94 kB / 0.7488 GB, free: 7.586 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.1521, allocations: 3.984 kB / 0.7488 GB, free: 7.582 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1521, allocations: 4 kB / 0.7488 GB, free: 7.578 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001977/0.1523, allocations: 239.4 kB / 0.749 GB, free: 7.328 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 8.326e-06/0.1523, allocations: 11.98 kB / 0.749 GB, free: 7.316 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.187e-05/0.1523, allocations: 4 kB / 0.749 GB, free: 7.312 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.969e-05/0.1524, allocations: 0 / 0.749 GB, free: 7.312 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.808e-05/0.1524, allocations: 7.984 kB / 0.749 GB, free: 7.305 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.663e-06/0.1524, allocations: 8 kB / 0.749 GB, free: 7.297 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 3.001e-05/0.1524, allocations: 95.27 kB / 0.7491 GB, free: 7.203 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6e-08/0.1524, allocations: 96 / 0.7491 GB, free: 7.203 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002105/0.1526, allocations: 111.4 kB / 0.7492 GB, free: 7.094 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_m_flow_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 (11): * Single equations (assignments): 11 * 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.0002134/0.1528, allocations: 194.8 kB / 0.7494 GB, free: 6.895 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001506/0.153, allocations: 121.6 kB / 0.7495 GB, free: 6.77 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.153, allocations: 0 / 0.7495 GB, free: 6.77 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 3.745e-05/0.153, allocations: 35.98 kB / 0.7496 GB, free: 6.734 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001718/0.1532, allocations: 13.72 kB / 0.7496 GB, free: 6.723 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003969/0.1536, allocations: 335.8 kB / 0.7499 GB, free: 6.355 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.142e-05/0.1537, allocations: 83.27 kB / 0.75 GB, free: 6.254 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.047e-05/0.1537, allocations: 19.44 kB / 0.75 GB, free: 6.234 MB / 0.5573 GB Notification: Performance of SimCode: time 3e-07/0.1537, allocations: 0 / 0.75 GB, free: 6.234 MB / 0.5573 GB Notification: Performance of Templates: time 0.002476/0.1562, allocations: 1.899 MB / 0.7518 GB, free: 4.344 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck2.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck2.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck2 > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck2.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 5.222270792350173]