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.0007272/0.0007272, allocations: 109.9 kB / 18.93 MB, free: 1.266 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.0008421/0.0008421, allocations: 218.3 kB / 22.26 MB, free: 3.695 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.9408/0.9408, allocations: 230.6 MB / 256 MB, free: 9.629 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.8471/0.8471, allocations: 203.8 MB / 0.5042 GB, free: 10.71 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.001355/0.001355, allocations: 62.38 kB / 0.7182 GB, free: 4.344 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5393/0.5406, allocations: 102 MB / 0.8179 GB, free: 1.246 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002187/0.5428, allocations: 1.273 MB / 0.8191 GB, free: 360 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008222/0.5436, allocations: 0.5843 MB / 0.8197 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.288e-05/0.5437, allocations: 2.969 kB / 0.8197 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.382e-05/0.5437, allocations: 4.844 kB / 0.8197 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.92e-05/0.5437, allocations: 0 / 0.8197 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006024/0.5443, allocations: 141.3 kB / 0.8198 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.156e-05/0.5444, allocations: 13.05 kB / 0.8198 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.744e-05/0.5445, allocations: 2.688 kB / 0.8198 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.716e-05/0.5445, allocations: 3.453 kB / 0.8198 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.726e-05/0.5445, allocations: 7 kB / 0.8198 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.348e-05/0.5446, allocations: 0 / 0.8198 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005057/0.5451, allocations: 347.6 kB / 0.8202 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.364e-05/0.5451, allocations: 0.5156 kB / 0.8202 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.012e-05/0.5451, allocations: 6.484 kB / 0.8202 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002693/0.5454, allocations: 143.3 kB / 0.8203 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.134e-06/0.5454, allocations: 0.75 kB / 0.8203 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.407e-06/0.5454, allocations: 3.719 kB / 0.8203 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.915e-06/0.5454, 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.0004142/0.5458, allocations: 276.9 kB / 0.8206 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/0.5459, allocations: 9.875 kB / 0.8206 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.134e-05/0.5459, allocations: 31.5 kB / 0.8206 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.651e-05/0.5459, allocations: 4.938 kB / 0.8206 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.192e-05/0.546, allocations: 105.9 kB / 0.8207 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.546, allocations: 3.875 kB / 0.8207 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.018e-05/0.546, allocations: 384 / 0.8207 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.805e-05/0.5461, allocations: 39.86 kB / 0.8208 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.5461, allocations: 3.938 kB / 0.8208 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.245e-06/0.5462, allocations: 0 / 0.8208 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.5462, allocations: 0 / 0.8208 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.62e-05/0.5462, allocations: 4.25 kB / 0.8208 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001412/0.5463, allocations: 124.6 kB / 0.8209 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.596e-05/0.5464, allocations: 22.55 kB / 0.8209 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.867e-05/0.5464, allocations: 5.562 kB / 0.8209 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.491e-05/0.5464, allocations: 1.312 kB / 0.8209 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/0.5464, allocations: 36.81 kB / 0.821 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 6.51e-07/0.5464, allocations: 3.938 kB / 0.821 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001564/0.5466, allocations: 48.34 kB / 0.821 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.085e-05/0.5466, allocations: 52.02 kB / 0.8211 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.093e-05/0.5467, allocations: 97.88 kB / 0.8212 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/0.5467, allocations: 25.7 kB / 0.8212 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.555e-05/0.5467, allocations: 82.91 kB / 0.8213 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.927e-05/0.5468, allocations: 8.547 kB / 0.8213 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.669e-05/0.5468, allocations: 12.83 kB / 0.8213 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.535e-05/0.5469, allocations: 321.8 kB / 0.8216 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.276e-05/0.5469, allocations: 2.688 kB / 0.8216 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.308e-06/0.5469, allocations: 0.6094 kB / 0.8216 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.34e-05/0.5469, allocations: 20.94 kB / 0.8216 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.5469, allocations: 0 / 0.8216 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.552e-05/0.547, allocations: 37.78 kB / 0.8217 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.547, allocations: 10.03 kB / 0.8217 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.547, allocations: 3.938 kB / 0.8217 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.547, allocations: 7.344 kB / 0.8217 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001659/0.5472, allocations: 12.03 kB / 0.8217 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006306/0.5478, allocations: 0.5832 MB / 0.8223 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.239e-05/0.5479, allocations: 1.875 kB / 0.8223 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.004e-06/0.5479, allocations: 0 / 0.8223 GB, free: 13.66 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.953e-05/0.5479, allocations: 116.8 kB / 0.8224 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.3e-06/0.5479, allocations: 4.656 kB / 0.8224 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001122/0.548, allocations: 50.38 kB / 0.8224 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.548, allocations: 0 / 0.8224 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.5481, allocations: 0 / 0.8224 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.5481, allocations: 0 / 0.8224 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.726e-05/0.5481, allocations: 126.7 kB / 0.8225 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.5481, allocations: 0.6562 kB / 0.8225 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.519e-05/0.5482, allocations: 14.83 kB / 0.8226 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.5482, allocations: 0 / 0.8226 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.962e-06/0.5482, allocations: 7.969 kB / 0.8226 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002473/0.5485, allocations: 0.5844 MB / 0.8231 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.5485, allocations: 4.453 kB / 0.8231 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.96e-05/0.5485, allocations: 67.44 kB / 0.8232 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.347e-06/0.5486, allocations: 0.6562 kB / 0.8232 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.156e-05/0.5486, allocations: 4.875 kB / 0.8232 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.418e-06/0.5486, allocations: 0 / 0.8232 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.971e-05/0.5486, allocations: 12.44 kB / 0.8232 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.038e-06/0.5486, allocations: 0.6562 kB / 0.8232 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.124e-05/0.5486, allocations: 75.8 kB / 0.8233 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5486, allocations: 3.938 kB / 0.8233 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001568/0.5488, allocations: 10.66 kB / 0.8233 GB, free: 12.56 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.0003394/0.5491, allocations: 0.606 MB / 0.8239 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001738/0.5493, allocations: 21.2 kB / 0.8239 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.5493, allocations: 0 / 0.8239 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.602e-05/0.5493, allocations: 14.22 kB / 0.8239 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001425/0.5495, allocations: 15.22 kB / 0.8239 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004827/0.55, allocations: 139.2 kB / 0.8241 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001864/0.5501, allocations: 0.6736 MB / 0.8247 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.866e-05/0.5502, allocations: 0.6094 kB / 0.8247 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.921e-05/0.5502, allocations: 11.38 kB / 0.8247 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of SimCode: time 8.62e-07/0.5502, allocations: 0 / 0.8247 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01954/0.5697, allocations: 1.388 MB / 0.8261 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.954/8.524, allocations: 7.688 kB / 0.8261 GB, free: 10.68 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.622139235027134] Failed to read output from testmodel.py, exit status != 0: 8.612913334043697 8.635628137 8.086364227 Calling exit ...