Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.0008157/0.0008157, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.0008314/0.0008314, allocations: 209.2 kB / 22.24 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.916/0.916, allocations: 230.6 MB / 256 MB, free: 9.582 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.7762/0.7762, allocations: 203.8 MB / 0.5042 GB, free: 10.42 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.InvertingBasicFlowFunction_dp,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",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.0009598/0.0009598, allocations: 66.31 kB / 0.7182 GB, free: 4 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5267/0.5277, allocations: 102 MB / 0.8178 GB, free: 1.008 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001983/0.5297, allocations: 1.278 MB / 0.819 GB, free: 116 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008171/0.5305, allocations: 0.5121 MB / 0.8195 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.58e-05/0.5305, allocations: 3.406 kB / 0.8195 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.366e-05/0.5306, allocations: 0 / 0.8195 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.049e-05/0.5306, allocations: 0.7969 kB / 0.8195 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006104/0.5312, allocations: 142.3 kB / 0.8197 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.327e-05/0.5313, allocations: 17.83 kB / 0.8197 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.381e-05/0.5314, allocations: 0.5156 kB / 0.8197 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.805e-05/0.5314, allocations: 7.719 kB / 0.8197 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.284e-05/0.5315, allocations: 6.938 kB / 0.8197 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.719e-05/0.5315, allocations: 0.6562 kB / 0.8197 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004157/0.5319, allocations: 263 kB / 0.82 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.681e-05/0.5319, allocations: 6.188 kB / 0.82 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.731e-05/0.5319, allocations: 9.531 kB / 0.82 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002694/0.5322, allocations: 127.6 kB / 0.8201 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.5322, allocations: 0 / 0.8201 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of FrontEnd: time 4.057e-06/0.5322, allocations: 0.5156 kB / 0.8201 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.235e-06/0.5322, allocations: 0 / 0.8201 GB, free: 15.6 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004427/0.5327, allocations: 282 kB / 0.8204 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.704e-05/0.5327, allocations: 11.56 kB / 0.8204 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.188e-05/0.5328, allocations: 37.34 kB / 0.8204 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.094e-05/0.5328, allocations: 0.9375 kB / 0.8204 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/0.5329, allocations: 105.7 kB / 0.8205 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.5329, allocations: 5.062 kB / 0.8205 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.081e-05/0.5329, allocations: 5.875 kB / 0.8205 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001122/0.5331, allocations: 30.33 kB / 0.8206 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.5331, allocations: 3.938 kB / 0.8206 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.737e-06/0.5331, allocations: 0.9375 kB / 0.8206 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.5331, allocations: 0 / 0.8206 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.218e-05/0.5331, allocations: 6.234 kB / 0.8206 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001599/0.5333, allocations: 128.2 kB / 0.8207 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.33e-05/0.5333, allocations: 25.55 kB / 0.8207 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.13e-05/0.5334, allocations: 11.98 kB / 0.8207 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.975e-05/0.5334, allocations: 0 / 0.8207 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.5334, allocations: 33.41 kB / 0.8208 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.5334, allocations: 0 / 0.8208 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001884/0.5336, allocations: 44.3 kB / 0.8208 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.809e-05/0.5337, allocations: 52.91 kB / 0.8209 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.343e-05/0.5337, allocations: 97.98 kB / 0.8209 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.13e-05/0.5337, allocations: 26.55 kB / 0.821 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.974e-05/0.5338, allocations: 80.14 kB / 0.821 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.056e-05/0.5338, allocations: 9.922 kB / 0.8211 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.83e-05/0.5338, allocations: 16.91 kB / 0.8211 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.857e-05/0.5339, allocations: 317.3 kB / 0.8214 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.624e-05/0.534, allocations: 1.969 kB / 0.8214 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.808e-06/0.534, allocations: 2.125 kB / 0.8214 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.191e-05/0.534, allocations: 16.34 kB / 0.8214 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.534, allocations: 0 / 0.8214 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.74e-05/0.5341, allocations: 43.47 kB / 0.8214 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.5341, allocations: 10.03 kB / 0.8214 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.5341, allocations: 0 / 0.8214 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.5341, allocations: 0.75 kB / 0.8214 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001587/0.5343, allocations: 15.75 kB / 0.8215 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003489/0.5346, allocations: 0.5867 MB / 0.822 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.672e-05/0.5346, allocations: 0 / 0.822 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.5346, allocations: 1.625 kB / 0.822 GB, free: 13.54 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 (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 prepare postOptimizeDAE: time 6.892e-05/0.5347, allocations: 116.5 kB / 0.8221 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.391e-06/0.5347, allocations: 2.078 kB / 0.8221 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001115/0.5348, allocations: 51.31 kB / 0.8222 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.5348, allocations: 1.438 kB / 0.8222 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.5348, allocations: 0.7031 kB / 0.8222 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.5348, allocations: 3.938 kB / 0.8222 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.864e-05/0.5349, allocations: 129.8 kB / 0.8223 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.5349, allocations: 1.438 kB / 0.8223 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.346e-05/0.535, allocations: 9.891 kB / 0.8223 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.535, allocations: 0 / 0.8223 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.051e-06/0.535, allocations: 6.844 kB / 0.8223 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004534/0.5355, allocations: 0.5781 MB / 0.8229 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.5355, allocations: 4.781 kB / 0.8229 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.013e-05/0.5355, allocations: 69.88 kB / 0.823 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.746e-06/0.5355, allocations: 4.203 kB / 0.823 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.021e-05/0.5355, allocations: 0.7031 kB / 0.823 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.045e-06/0.5355, allocations: 0 / 0.823 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.47e-05/0.5356, allocations: 4.734 kB / 0.823 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-06/0.5356, allocations: 1.719 kB / 0.823 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.497e-05/0.5356, allocations: 86.66 kB / 0.8231 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5356, allocations: 0 / 0.8231 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001462/0.5357, allocations: 11.31 kB / 0.8231 GB, free: 12.45 MB / 0.6198 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.0002994/0.536, allocations: 0.6063 MB / 0.8237 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001468/0.5362, allocations: 24.88 kB / 0.8237 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.5362, allocations: 0 / 0.8237 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.37e-05/0.5362, allocations: 13.33 kB / 0.8237 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001189/0.5363, allocations: 14.61 kB / 0.8237 GB, free: 11.83 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004436/0.5368, allocations: 138.8 kB / 0.8239 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.422e-05/0.5368, allocations: 57.91 kB / 0.8239 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.505e-05/0.5368, allocations: 0 / 0.8239 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.438e-05/0.5368, allocations: 16.05 kB / 0.8239 GB, free: 11.6 MB / 0.6198 GB Notification: Performance of SimCode: time 6.01e-07/0.5368, allocations: 0 / 0.8239 GB, free: 11.6 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01729/0.5541, allocations: 1.78 MB / 0.8257 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.708/8.263, allocations: 20.28 kB / 0.8257 GB, free: 10.77 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.182037765160203] Failed to read output from testmodel.py, exit status != 0: 8.350067988969386 8.367754643 7.8329228539999995 Calling exit ...