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.0008313/0.0008313, allocations: 80.44 kB / 19.17 MB, free: 0.7344 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.0008448/0.0008448, allocations: 169.9 kB / 22.46 MB, free: 2.098 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.8903/0.8903, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.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.7236/0.7236, allocations: 154.5 MB / 413.7 MB, free: 0.8555 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 0.618 GB, free: 13.78 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.134e-05/2.335e-05, allocations: 4.438 kB / 0.6181 GB, free: 13.78 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001689/0.001712, allocations: 1.293 MB / 0.6193 GB, free: 12.48 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007903/0.002502, allocations: 0.5409 MB / 0.6198 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.72e-05/0.002529, allocations: 3.938 kB / 0.6198 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.866e-05/0.002548, allocations: 3.984 kB / 0.6198 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 3.289e-05/0.002581, allocations: 3.938 kB / 0.6199 GB, free: 11.92 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004791/0.00306, allocations: 146.9 kB / 0.62 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.62e-05/0.003116, allocations: 19.94 kB / 0.62 GB, free: 11.76 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.859e-05/0.003155, allocations: 7.984 kB / 0.62 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.641e-05/0.003201, allocations: 8 kB / 0.62 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.164e-05/0.003253, allocations: 19.86 kB / 0.62 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.939e-05/0.003272, allocations: 0 / 0.62 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002847/0.003557, allocations: 267.4 kB / 0.6203 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.48e-05/0.003572, allocations: 7.984 kB / 0.6203 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.629e-05/0.003588, allocations: 4 kB / 0.6203 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001871/0.003775, allocations: 155.5 kB / 0.6205 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.003777, allocations: 0 / 0.6205 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of FrontEnd: time 7.52e-07/0.003778, allocations: 0 / 0.6205 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.028e-06/0.003782, allocations: 0 / 0.6205 GB, free: 11.3 MB / 0.5886 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.0003277/0.00411, allocations: 286 kB / 0.6207 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.004154, allocations: 13.45 kB / 0.6207 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.892e-05/0.004193, allocations: 34.75 kB / 0.6208 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.686e-05/0.00422, allocations: 4.891 kB / 0.6208 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.635e-05/0.004296, allocations: 109.7 kB / 0.6209 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.147e-06/0.004306, allocations: 384 / 0.6209 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.721e-05/0.004323, allocations: 384 / 0.6209 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001056/0.004428, allocations: 67.95 kB / 0.621 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.004435, allocations: 192 / 0.621 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.175e-06/0.004444, allocations: 384 / 0.621 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.004449, allocations: 8.125 kB / 0.621 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.621e-05/0.004485, allocations: 19.92 kB / 0.621 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001228/0.004608, allocations: 124.8 kB / 0.6211 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001659/0.004774, allocations: 42.61 kB / 0.6211 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.583e-05/0.0048, allocations: 20.94 kB / 0.6212 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.744e-05/0.004817, allocations: 3.938 kB / 0.6212 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.87e-05/0.004836, allocations: 34.56 kB / 0.6212 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 6.51e-07/0.004836, allocations: 0 / 0.6212 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6): time 0.0004955/0.005332, allocations: 225.4 kB / 0.6214 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/0.005363, allocations: 63.34 kB / 0.6215 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.436e-05/0.005407, allocations: 101.8 kB / 0.6216 GB, free: 9.969 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.087e-05/0.005418, allocations: 25.7 kB / 0.6216 GB, free: 9.938 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.216e-05/0.00544, allocations: 84.08 kB / 0.6217 GB, free: 9.852 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.529e-05/0.005466, allocations: 27.75 kB / 0.6217 GB, free: 9.824 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.795e-05/0.005494, allocations: 21.7 kB / 0.6217 GB, free: 9.797 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.753e-05/0.005561, allocations: 314.8 kB / 0.622 GB, free: 9.48 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.789e-05/0.005579, allocations: 8 kB / 0.622 GB, free: 9.473 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.661e-05/0.005596, allocations: 15.98 kB / 0.622 GB, free: 9.457 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.277e-05/0.005638, allocations: 37 kB / 0.6221 GB, free: 9.418 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.005639, allocations: 0 / 0.6221 GB, free: 9.418 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7) (initialization): time 6.232e-05/0.005701, allocations: 69.61 kB / 0.6221 GB, free: 9.344 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.005714, allocations: 8 kB / 0.6222 GB, free: 9.336 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.005718, allocations: 0 / 0.6222 GB, free: 9.336 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.00573, allocations: 3.938 kB / 0.6222 GB, free: 9.332 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.453e-05/0.005764, allocations: 8.062 kB / 0.6222 GB, free: 9.324 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/0.005772, allocations: 8 kB / 0.6222 GB, free: 9.316 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.211e-05/0.005784, allocations: 7.984 kB / 0.6222 GB, free: 9.309 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.005789, allocations: 0 / 0.6222 GB, free: 9.309 MB / 0.5886 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.99e-05/0.005839, allocations: 110.8 kB / 0.6223 GB, free: 9.191 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.36e-06/0.005845, allocations: 0 / 0.6223 GB, free: 9.191 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001002/0.005945, allocations: 81.75 kB / 0.6224 GB, free: 9.102 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.005949, allocations: 3.938 kB / 0.6224 GB, free: 9.098 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.005953, allocations: 0 / 0.6224 GB, free: 9.098 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.005956, allocations: 3.984 kB / 0.6224 GB, free: 9.094 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002438/0.0062, allocations: 274.5 kB / 0.6226 GB, free: 8.773 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.006203, allocations: 7.938 kB / 0.6226 GB, free: 8.766 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.052e-05/0.006244, allocations: 15.92 kB / 0.6227 GB, free: 8.75 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.006246, allocations: 0 / 0.6227 GB, free: 8.75 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.006253, allocations: 4 kB / 0.6227 GB, free: 8.746 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.006254, allocations: 0 / 0.6227 GB, free: 8.746 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.006256, allocations: 0 / 0.6227 GB, free: 8.746 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001198/0.006376, allocations: 180.4 kB / 0.6228 GB, free: 8.551 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.687e-05/0.006392, allocations: 7.922 kB / 0.6228 GB, free: 8.543 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.067e-05/0.006403, allocations: 4.031 kB / 0.6228 GB, free: 8.539 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.07e-05/0.006444, allocations: 0 / 0.6228 GB, free: 8.539 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.895e-05/0.006463, allocations: 15.92 kB / 0.6229 GB, free: 8.523 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.006467, allocations: 0 / 0.6229 GB, free: 8.523 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.298e-05/0.00649, allocations: 79.28 kB / 0.6229 GB, free: 8.445 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.00649, allocations: 0 / 0.6229 GB, free: 8.445 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001679/0.006658, allocations: 19.94 kB / 0.623 GB, free: 8.426 MB / 0.5886 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.0003362/0.006994, allocations: 0.7407 MB / 0.6237 GB, free: 7.652 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 8.292e-05/0.007077, allocations: 31.92 kB / 0.6237 GB, free: 7.621 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.007078, allocations: 0 / 0.6237 GB, free: 7.621 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.717e-05/0.007096, allocations: 19.94 kB / 0.6237 GB, free: 7.602 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001489/0.007245, allocations: 7.938 kB / 0.6237 GB, free: 7.594 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008302/0.008075, allocations: 1.306 MB / 0.625 GB, free: 6.199 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.152e-05/0.008116, allocations: 63.34 kB / 0.6251 GB, free: 6.117 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.786e-05/0.008144, allocations: 12.28 kB / 0.6251 GB, free: 6.105 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.356e-05/0.008178, allocations: 20.44 kB / 0.6251 GB, free: 6.082 MB / 0.5886 GB Notification: Performance of SimCode: time 3.81e-07/0.008178, allocations: 0 / 0.6251 GB, free: 6.082 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01528/0.02346, allocations: 2.253 MB / 0.6273 GB, free: 4.055 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.079/7.102, allocations: 15.91 kB / 0.6273 GB, free: 4.043 MB / 0.5886 GB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.fmu > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.79517530836165] Failed to read output from testmodel.py, exit status != 0: 7.183061769232154 7.195131575 7.189614462 Calling exit ...