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.000839/0.000839, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0008386/0.0008386, allocations: 218.9 kB / 22.25 MB, free: 3.699 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 1.003/1.003, allocations: 230.6 MB / 256 MB, free: 9.816 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.82/0.82, allocations: 203.8 MB / 0.5042 GB, free: 10.77 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.001005/0.001005, allocations: 72.95 kB / 0.7182 GB, free: 4.348 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5266/0.5276, allocations: 102 MB / 0.8179 GB, free: 1.242 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002847/0.5304, allocations: 1.281 MB / 0.8191 GB, free: 352 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008514/0.5313, allocations: 0.5859 MB / 0.8197 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.667e-05/0.5313, allocations: 0 / 0.8197 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.247e-05/0.5313, allocations: 0 / 0.8197 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.322e-05/0.5314, allocations: 3.938 kB / 0.8197 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004409/0.5318, allocations: 145.9 kB / 0.8198 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.36e-05/0.5319, allocations: 17.3 kB / 0.8198 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.429e-05/0.5319, allocations: 3.375 kB / 0.8198 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.311e-05/0.532, allocations: 4.297 kB / 0.8198 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.891e-05/0.532, allocations: 4.703 kB / 0.8199 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.152e-05/0.532, allocations: 0 / 0.8199 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004243/0.5325, allocations: 345 kB / 0.8202 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.282e-05/0.5325, allocations: 4.562 kB / 0.8202 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.277e-05/0.5325, allocations: 5.703 kB / 0.8202 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002271/0.5327, allocations: 138.8 kB / 0.8203 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.5327, allocations: 3.719 kB / 0.8203 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.014e-06/0.5327, allocations: 0 / 0.8203 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.755e-06/0.5327, allocations: 0 / 0.8203 GB, free: 15.71 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.0004166/0.5331, allocations: 277.1 kB / 0.8206 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.5332, allocations: 9.562 kB / 0.8206 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.587e-05/0.5332, allocations: 35.59 kB / 0.8206 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.788e-05/0.5333, allocations: 4.781 kB / 0.8206 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.525e-05/0.5334, allocations: 103.2 kB / 0.8207 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.5334, allocations: 384 / 0.8207 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.949e-06/0.5334, allocations: 4.312 kB / 0.8207 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.477e-05/0.5335, allocations: 28.14 kB / 0.8208 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.5335, allocations: 9.438 kB / 0.8208 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.5335, allocations: 0.9375 kB / 0.8208 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.5335, allocations: 4 kB / 0.8208 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.463e-05/0.5335, allocations: 8.688 kB / 0.8208 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000123/0.5336, allocations: 117 kB / 0.8209 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.773e-05/0.5337, allocations: 24.28 kB / 0.8209 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.811e-05/0.5337, allocations: 10.14 kB / 0.8209 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.521e-05/0.5337, allocations: 3.984 kB / 0.8209 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/0.5337, allocations: 39.08 kB / 0.821 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 5.31e-07/0.5337, allocations: 0 / 0.821 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001391/0.5339, allocations: 48.28 kB / 0.821 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.516e-05/0.5339, allocations: 53.06 kB / 0.8211 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.367e-05/0.534, allocations: 92.7 kB / 0.8212 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.031e-05/0.534, allocations: 26.2 kB / 0.8212 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.928e-05/0.534, allocations: 86.38 kB / 0.8213 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.14e-05/0.5341, allocations: 8.703 kB / 0.8213 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.151e-05/0.5341, allocations: 17.64 kB / 0.8213 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.855e-05/0.5342, allocations: 312.2 kB / 0.8216 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.221e-05/0.5342, allocations: 6.156 kB / 0.8216 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.576e-06/0.5342, allocations: 6.547 kB / 0.8216 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.455e-05/0.5342, allocations: 14.12 kB / 0.8216 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.5342, allocations: 3.25 kB / 0.8216 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.246e-05/0.5343, allocations: 41.33 kB / 0.8217 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.5343, allocations: 17.44 kB / 0.8217 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.5343, allocations: 0.7031 kB / 0.8217 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.5343, allocations: 1.469 kB / 0.8217 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001678/0.5345, allocations: 9.812 kB / 0.8217 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003252/0.5348, allocations: 0.5833 MB / 0.8223 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.588e-05/0.5348, allocations: 0.7031 kB / 0.8223 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.5348, allocations: 2.125 kB / 0.8223 GB, free: 13.64 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.809e-05/0.5349, allocations: 114.5 kB / 0.8224 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.379e-06/0.5349, allocations: 2.766 kB / 0.8224 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001036/0.535, allocations: 47.34 kB / 0.8224 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.535, allocations: 0 / 0.8224 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.535, allocations: 2.188 kB / 0.8224 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.535, allocations: 3.984 kB / 0.8224 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.648e-05/0.5351, allocations: 129.5 kB / 0.8225 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.5351, allocations: 7.047 kB / 0.8226 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.432e-05/0.5352, allocations: 8.031 kB / 0.8226 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.5352, allocations: 2.469 kB / 0.8226 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.724e-06/0.5352, allocations: 0.75 kB / 0.8226 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002309/0.5354, allocations: 0.5824 MB / 0.8231 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.5354, allocations: 4.547 kB / 0.8231 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.433e-05/0.5355, allocations: 69.73 kB / 0.8232 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.107e-06/0.5355, allocations: 5.938 kB / 0.8232 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.077e-06/0.5355, allocations: 0.6094 kB / 0.8232 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.204e-06/0.5355, allocations: 0 / 0.8232 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.698e-05/0.5355, allocations: 11.95 kB / 0.8232 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-06/0.5355, allocations: 0 / 0.8232 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.622e-05/0.5355, allocations: 77.7 kB / 0.8233 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5355, allocations: 0 / 0.8233 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001328/0.5357, allocations: 16.91 kB / 0.8233 GB, free: 12.55 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.0003082/0.536, allocations: 0.5959 MB / 0.8239 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001366/0.5361, allocations: 20.31 kB / 0.8239 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.5361, allocations: 9.688 kB / 0.8239 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.609e-05/0.5361, allocations: 12.44 kB / 0.8239 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00012/0.5363, allocations: 16.03 kB / 0.824 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003959/0.5367, allocations: 133.7 kB / 0.8241 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002008/0.5369, allocations: 0.674 MB / 0.8247 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.793e-05/0.5369, allocations: 0 / 0.8247 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.765e-05/0.5369, allocations: 12.11 kB / 0.8247 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of SimCode: time 4.21e-07/0.5369, allocations: 0.6875 kB / 0.8247 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01776/0.5547, allocations: 1.38 MB / 0.8261 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.919/8.474, allocations: 19.05 kB / 0.8261 GB, free: 10.67 MB / 0.6198 GB " [Timeout remaining time 651] (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.487116877920926] Failed to read output from testmodel.py, exit status != 0: 8.558673174818978 8.57654865 8.04129086 Calling exit ...