Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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.0008742/0.0008742, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.0008814/0.0008814, allocations: 207.6 kB / 22.25 MB, free: 3.59 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.9106/0.9106, allocations: 230.6 MB / 256 MB, free: 9.613 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.7767/0.7767, allocations: 203.8 MB / 0.5042 GB, free: 10.52 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: "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) [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.0013/0.0013, allocations: 74.5 kB / 0.7182 GB, free: 4.055 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5148/0.5161, allocations: 102 MB / 0.8178 GB, free: 1.055 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.001972/0.5181, allocations: 1.482 MB / 0.8192 GB, free: 36 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008855/0.519, allocations: 0.5608 MB / 0.8198 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.011e-05/0.519, allocations: 0 / 0.8198 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.617e-05/0.519, allocations: 5.344 kB / 0.8198 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.077e-05/0.5191, allocations: 12.56 kB / 0.8198 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000574/0.5197, allocations: 153.7 kB / 0.82 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001045/0.5198, allocations: 60.47 kB / 0.82 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.242e-05/0.5198, allocations: 9.203 kB / 0.82 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.494e-05/0.5199, allocations: 19.05 kB / 0.82 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.473e-05/0.5199, allocations: 26.22 kB / 0.8201 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.435e-05/0.52, allocations: 3.344 kB / 0.8201 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003561/0.5203, allocations: 268.3 kB / 0.8203 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.721e-05/0.5203, allocations: 19.69 kB / 0.8203 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.774e-05/0.5204, allocations: 18.36 kB / 0.8204 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000273/0.5206, allocations: 169.1 kB / 0.8205 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.5207, allocations: 0.6094 kB / 0.8205 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.964e-06/0.5207, allocations: 4 kB / 0.8205 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.742e-06/0.5207, allocations: 0 / 0.8205 GB, free: 15.4 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006356/0.5213, allocations: 330.1 kB / 0.8208 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.5213, allocations: 9.375 kB / 0.8208 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.536e-05/0.5214, allocations: 37.69 kB / 0.8209 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.216e-05/0.5214, allocations: 13.78 kB / 0.8209 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.277e-05/0.5215, allocations: 113.3 kB / 0.821 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.384e-05/0.5215, allocations: 12.61 kB / 0.821 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.238e-05/0.5215, allocations: 5.125 kB / 0.821 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002089/0.5218, allocations: 130.5 kB / 0.8211 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.5218, allocations: 5.672 kB / 0.8212 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.5218, allocations: 5.125 kB / 0.8212 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.5218, allocations: 5.094 kB / 0.8212 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001358/0.5219, allocations: 49.23 kB / 0.8212 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004081/0.5223, allocations: 282.4 kB / 0.8215 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001716/0.5225, allocations: 85.31 kB / 0.8216 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.187e-05/0.5226, allocations: 29.2 kB / 0.8216 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.839e-05/0.5226, allocations: 2.078 kB / 0.8216 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.025e-05/0.5226, allocations: 31.97 kB / 0.8216 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/0.5226, allocations: 0 / 0.8216 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.001019/0.5236, allocations: 0.5002 MB / 0.8221 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.641e-05/0.5237, allocations: 52.2 kB / 0.8222 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.917e-05/0.5237, allocations: 104.9 kB / 0.8223 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/0.5237, allocations: 27.23 kB / 0.8223 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.009e-05/0.5238, allocations: 95.38 kB / 0.8224 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.105e-05/0.5238, allocations: 39.72 kB / 0.8224 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-05/0.5238, allocations: 29.23 kB / 0.8224 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.44e-05/0.5239, allocations: 319 kB / 0.8227 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.59e-05/0.524, allocations: 41.86 kB / 0.8228 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.494e-05/0.5241, allocations: 30.44 kB / 0.8228 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001499/0.5242, allocations: 76.59 kB / 0.8229 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.5242, allocations: 0 / 0.8229 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001934/0.5244, allocations: 112.1 kB / 0.823 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.5244, allocations: 5.625 kB / 0.823 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.5244, allocations: 0 / 0.823 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.5244, allocations: 4 kB / 0.823 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.5245, allocations: 31.14 kB / 0.823 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.5245, allocations: 3.938 kB / 0.823 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.025e-05/0.5246, allocations: 7.047 kB / 0.823 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/0.5246, allocations: 11.38 kB / 0.8231 GB, free: 13.29 MB / 0.6198 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 (13): * Single equations (assignments): 13 * 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 6.881e-05/0.5247, allocations: 114.2 kB / 0.8232 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.784e-05/0.5247, allocations: 6.734 kB / 0.8232 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002337/0.5249, allocations: 124.8 kB / 0.8233 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-06/0.5249, allocations: 6.375 kB / 0.8233 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.5249, allocations: 4.125 kB / 0.8233 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.5249, allocations: 0.6094 kB / 0.8233 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003719/0.5253, allocations: 353.8 kB / 0.8236 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.5253, allocations: 1.156 kB / 0.8236 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000103/0.5254, allocations: 29.09 kB / 0.8237 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/0.5254, allocations: 3.938 kB / 0.8237 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.5254, allocations: 5.906 kB / 0.8237 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.5254, allocations: 5.562 kB / 0.8237 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.5254, allocations: 0.9375 kB / 0.8237 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003608/0.5258, allocations: 250.9 kB / 0.8239 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.013e-05/0.5258, allocations: 6.672 kB / 0.8239 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.008e-05/0.5258, allocations: 10.3 kB / 0.8239 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.275e-05/0.5259, allocations: 6.031 kB / 0.8239 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.83e-05/0.5259, allocations: 6.203 kB / 0.8239 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/0.5259, allocations: 8.531 kB / 0.824 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.556e-05/0.5259, allocations: 79.33 kB / 0.824 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.5259, allocations: 4 kB / 0.824 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002089/0.5262, allocations: 39.31 kB / 0.8241 GB, free: 12.5 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_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 (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.0007267/0.5269, allocations: 0.8095 MB / 0.8249 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002378/0.5271, allocations: 82.33 kB / 0.8249 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.5271, allocations: 1.531 kB / 0.8249 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.577e-05/0.5272, allocations: 47.89 kB / 0.825 GB, free: 11.76 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002613/0.5275, allocations: 10.23 kB / 0.825 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002066/0.5295, allocations: 1.603 MB / 0.8266 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.911e-05/0.5296, allocations: 82.09 kB / 0.8266 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.826e-05/0.5297, allocations: 14.33 kB / 0.8267 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.612e-05/0.5297, allocations: 27.28 kB / 0.8267 GB, free: 10.28 MB / 0.6198 GB Notification: Performance of SimCode: time 1.072e-06/0.5297, allocations: 0 / 0.8267 GB, free: 10.28 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01709/0.5468, allocations: 2.832 MB / 0.8294 GB, free: 9.379 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.111/7.658, allocations: 11 kB / 0.8295 GB, free: 9.375 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.fmu > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.532167351804674] Failed to read output from testmodel.py, exit status != 0: 7.737741274759173 7.748768306 7.225790462 Calling exit ...