Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.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.000734/0.000734, allocations: 115 kB / 19.7 MB, free: 0.5273 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.0007181/0.0007181, allocations: 199.3 kB / 23 MB, free: 3.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.8761/0.8761, allocations: 230.6 MB / 256.8 MB, free: 3.496 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7286/0.7286, allocations: 203.8 MB / 0.5049 GB, free: 0.7812 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008553/0.0008553, allocations: 59.91 kB / 0.7195 GB, free: 14.5 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4529/0.4537, allocations: 102 MB / 0.8191 GB, free: 25.27 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002002/0.4557, allocations: 1.307 MB / 0.8204 GB, free: 24.37 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0008658/0.4566, allocations: 0.611 MB / 0.821 GB, free: 23.95 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.86e-05/0.4566, allocations: 1.219 kB / 0.821 GB, free: 23.95 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 1.897e-05/0.4567, allocations: 0.5156 kB / 0.821 GB, free: 23.95 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 4.2e-05/0.4567, allocations: 4.547 kB / 0.821 GB, free: 23.95 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.000498/0.4572, allocations: 146.6 kB / 0.8211 GB, free: 23.88 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 7.365e-05/0.4573, allocations: 20.03 kB / 0.8211 GB, free: 23.87 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 4.78e-05/0.4573, allocations: 5.359 kB / 0.8211 GB, free: 23.87 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 4.295e-05/0.4574, allocations: 8.359 kB / 0.8211 GB, free: 23.87 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 5.84e-05/0.4574, allocations: 9.828 kB / 0.8212 GB, free: 23.86 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.272e-05/0.4574, allocations: 0.9375 kB / 0.8212 GB, free: 23.86 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004842/0.4579, allocations: 347.8 kB / 0.8215 GB, free: 23.76 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.46e-05/0.4579, allocations: 2.844 kB / 0.8215 GB, free: 23.76 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.784e-05/0.458, allocations: 12.23 kB / 0.8215 GB, free: 23.75 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002659/0.4582, allocations: 153.6 kB / 0.8216 GB, free: 23.7 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.4582, allocations: 0 / 0.8216 GB, free: 23.7 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.923e-06/0.4582, allocations: 0 / 0.8216 GB, free: 23.7 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.4582, allocations: 0 / 0.8216 GB, free: 23.7 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003647/0.4586, allocations: 285.2 kB / 0.8219 GB, free: 23.41 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.4586, allocations: 11.22 kB / 0.8219 GB, free: 23.41 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.723e-05/0.4587, allocations: 3.547 kB / 0.8219 GB, free: 23.41 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.663e-05/0.4588, allocations: 110.7 kB / 0.822 GB, free: 23.29 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.4588, allocations: 1.5 kB / 0.822 GB, free: 23.29 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.547e-05/0.4588, allocations: 6.531 kB / 0.822 GB, free: 23.28 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000105/0.4589, allocations: 41.94 kB / 0.8221 GB, free: 23.25 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.4589, allocations: 0.75 kB / 0.8221 GB, free: 23.25 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.4589, allocations: 8.906 kB / 0.8221 GB, free: 23.24 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.4589, allocations: 3.812 kB / 0.8221 GB, free: 23.24 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.953e-05/0.459, allocations: 8.281 kB / 0.8221 GB, free: 23.24 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001205/0.4591, allocations: 126.7 kB / 0.8222 GB, free: 23.08 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001864/0.4593, allocations: 47.03 kB / 0.8223 GB, free: 23.05 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.067e-05/0.4593, allocations: 24.95 kB / 0.8223 GB, free: 23.03 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.094e-05/0.4593, allocations: 0.75 kB / 0.8223 GB, free: 23.03 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.527e-05/0.4593, allocations: 36.7 kB / 0.8223 GB, free: 22.99 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 7.91e-07/0.4593, allocations: 0 / 0.8223 GB, free: 22.99 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0005108/0.4598, allocations: 240 kB / 0.8226 GB, free: 22.79 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.428e-05/0.4599, allocations: 52.41 kB / 0.8226 GB, free: 22.73 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.546e-05/0.4599, allocations: 96.11 kB / 0.8227 GB, free: 22.63 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.404e-06/0.4599, allocations: 31.08 kB / 0.8227 GB, free: 22.6 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 1.602e-05/0.4599, allocations: 84.14 kB / 0.8228 GB, free: 22.51 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.512e-05/0.46, allocations: 15.73 kB / 0.8228 GB, free: 22.5 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.819e-05/0.46, allocations: 20.47 kB / 0.8228 GB, free: 22.48 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.17e-05/0.46, allocations: 317.7 kB / 0.8231 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.172e-05/0.4601, allocations: 11.89 kB / 0.8232 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.758e-05/0.4601, allocations: 8.062 kB / 0.8232 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.703e-05/0.4601, allocations: 41.56 kB / 0.8232 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.32e-07/0.4601, allocations: 3.094 kB / 0.8232 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 6.915e-05/0.4602, allocations: 64.06 kB / 0.8233 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.4602, allocations: 9.938 kB / 0.8233 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.4602, allocations: 0 / 0.8233 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.4602, allocations: 0.6562 kB / 0.8233 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.535e-05/0.4603, allocations: 11.44 kB / 0.8233 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.4603, allocations: 1.062 kB / 0.8233 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.255e-05/0.4603, allocations: 4.562 kB / 0.8233 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.423e-06/0.4603, allocations: 5.75 kB / 0.8233 GB, free: 22.08 MB / 0.6355 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 (7): * Single equations (assignments): 7 * 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 prepare postOptimizeDAE: time 4.851e-05/0.4603, allocations: 117.4 kB / 0.8234 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.863e-06/0.4604, allocations: 6.094 kB / 0.8234 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001057/0.4605, allocations: 76.61 kB / 0.8235 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.4605, allocations: 1.859 kB / 0.8235 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.4605, allocations: 1.062 kB / 0.8235 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.4605, allocations: 0 / 0.8235 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002361/0.4607, allocations: 288.8 kB / 0.8238 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.4607, allocations: 0 / 0.8238 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.398e-05/0.4608, allocations: 11.31 kB / 0.8238 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.4608, allocations: 0.8438 kB / 0.8238 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.4608, allocations: 2.188 kB / 0.8238 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.4608, allocations: 1.328 kB / 0.8238 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.4608, allocations: 1.797 kB / 0.8238 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000125/0.4609, allocations: 191 kB / 0.824 GB, free: 21.44 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.565e-05/0.4609, allocations: 9.031 kB / 0.824 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.205e-05/0.4609, allocations: 5.062 kB / 0.824 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.805e-05/0.461, allocations: 5.984 kB / 0.824 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.852e-05/0.461, allocations: 4.422 kB / 0.824 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.461, allocations: 3.375 kB / 0.824 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.554e-05/0.461, allocations: 82.48 kB / 0.8241 GB, free: 21.35 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.461, allocations: 0 / 0.8241 GB, free: 21.35 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001648/0.4612, allocations: 23.72 kB / 0.8241 GB, free: 21.34 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (dp_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 (6): * Single equations (assignments): 6 * 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.0001416/0.4613, allocations: 121.4 kB / 0.8242 GB, free: 21.24 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.00011/0.4614, allocations: 38.83 kB / 0.8243 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4614, allocations: 1.094 kB / 0.8243 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.418e-05/0.4615, allocations: 20.19 kB / 0.8243 GB, free: 21.22 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001627/0.4616, allocations: 8.344 kB / 0.8243 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003619/0.462, allocations: 223.9 kB / 0.8245 GB, free: 21 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.385e-05/0.4621, allocations: 0.6798 MB / 0.8252 GB, free: 20.31 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.288e-05/0.4621, allocations: 11.12 kB / 0.8252 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of SimCode: time 4.11e-07/0.4621, allocations: 4 kB / 0.8252 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of Templates: time 0.0024/0.4645, allocations: 0.7887 MB / 0.8259 GB, free: 20.24 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.682680384954438] Failed to read output from testmodel.py, exit status != 0: 0.4699837900698185 0.479499305 0.019524145 Calling exit ...