Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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.0006685/0.0006685, 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.0008561/0.0008561, allocations: 217.7 kB / 22.26 MB, free: 3.703 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.9447/0.9447, allocations: 230.6 MB / 256 MB, free: 9.801 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.8409/0.8409, allocations: 203.8 MB / 0.5042 GB, free: 10.74 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_m_flow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",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.001469/0.001469, allocations: 74.44 kB / 0.7182 GB, free: 4.352 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5445/0.5459, allocations: 102 MB / 0.8179 GB, free: 1.266 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001813/0.5477, allocations: 1.281 MB / 0.8191 GB, free: 376 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007824/0.5485, allocations: 0.5874 MB / 0.8197 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.788e-05/0.5485, allocations: 3.938 kB / 0.8197 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.945e-05/0.5486, allocations: 0.7031 kB / 0.8197 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.298e-05/0.5486, allocations: 7.141 kB / 0.8197 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004886/0.5491, allocations: 136.8 kB / 0.8198 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.885e-05/0.5492, allocations: 14.55 kB / 0.8198 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.434e-05/0.5492, allocations: 5.25 kB / 0.8198 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.029e-05/0.5492, allocations: 1.906 kB / 0.8198 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.303e-05/0.5493, allocations: 8.547 kB / 0.8198 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.151e-05/0.5493, allocations: 0 / 0.8198 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004119/0.5497, allocations: 344.9 kB / 0.8202 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.077e-05/0.5497, allocations: 0 / 0.8202 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.208e-05/0.5497, allocations: 4.828 kB / 0.8202 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007412/0.5505, allocations: 135.8 kB / 0.8203 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.5505, allocations: 5.125 kB / 0.8203 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.693e-06/0.5505, allocations: 4 kB / 0.8203 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.123e-06/0.5505, allocations: 0 / 0.8203 GB, free: 15.73 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.0003462/0.5508, allocations: 280.2 kB / 0.8206 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.5509, allocations: 9.75 kB / 0.8206 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.475e-05/0.5509, allocations: 30.75 kB / 0.8206 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.281e-05/0.5509, allocations: 5.109 kB / 0.8206 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.212e-05/0.551, allocations: 107.2 kB / 0.8207 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.551, allocations: 8.375 kB / 0.8207 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.347e-06/0.551, allocations: 1.375 kB / 0.8207 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.502e-05/0.5511, allocations: 38.25 kB / 0.8208 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.5511, allocations: 7.922 kB / 0.8208 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.083e-06/0.5511, allocations: 0 / 0.8208 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.5511, allocations: 0 / 0.8208 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.245e-05/0.5512, allocations: 8.094 kB / 0.8208 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001197/0.5513, allocations: 125.1 kB / 0.8209 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.641e-05/0.5513, allocations: 22.22 kB / 0.8209 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.753e-05/0.5513, allocations: 13.56 kB / 0.8209 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.045e-05/0.5514, allocations: 0.6562 kB / 0.8209 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.928e-05/0.5514, allocations: 32.03 kB / 0.821 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 4.8e-07/0.5514, allocations: 0 / 0.821 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001304/0.5515, allocations: 51.03 kB / 0.821 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.843e-05/0.5515, allocations: 52.06 kB / 0.8211 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.522e-05/0.5516, allocations: 92.08 kB / 0.8212 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.187e-05/0.5516, allocations: 31.86 kB / 0.8212 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.099e-05/0.5516, allocations: 80.8 kB / 0.8213 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.907e-05/0.5517, allocations: 8.594 kB / 0.8213 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.503e-05/0.5517, allocations: 19.83 kB / 0.8213 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.743e-05/0.5518, allocations: 311.6 kB / 0.8216 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.159e-05/0.5518, allocations: 0 / 0.8216 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.258e-06/0.5518, allocations: 2.547 kB / 0.8216 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.968e-05/0.5518, allocations: 20.06 kB / 0.8216 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.5518, allocations: 0 / 0.8216 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.857e-05/0.5519, allocations: 43.27 kB / 0.8217 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.5519, allocations: 9.25 kB / 0.8217 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-06/0.5519, allocations: 0 / 0.8217 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.5519, allocations: 5.031 kB / 0.8217 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001599/0.5521, allocations: 14.38 kB / 0.8217 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002711/0.5523, allocations: 0.5851 MB / 0.8223 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.347e-05/0.5524, allocations: 0 / 0.8223 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.571e-06/0.5524, allocations: 0.6562 kB / 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 5.84e-05/0.5524, allocations: 113.8 kB / 0.8224 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.277e-06/0.5524, allocations: 0 / 0.8224 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.095e-05/0.5525, allocations: 52.11 kB / 0.8224 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.5525, allocations: 0 / 0.8224 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.5525, allocations: 128 / 0.8224 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.5525, allocations: 7.25 kB / 0.8224 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.127e-05/0.5526, allocations: 130.7 kB / 0.8226 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.5526, allocations: 0 / 0.8226 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.953e-05/0.5527, allocations: 7.766 kB / 0.8226 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.103e-06/0.5527, allocations: 3.594 kB / 0.8226 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.5527, allocations: 0.6562 kB / 0.8226 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001979/0.5529, allocations: 0.5825 MB / 0.8231 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.5529, allocations: 8.688 kB / 0.8231 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.674e-05/0.5529, allocations: 63.73 kB / 0.8232 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.096e-06/0.5529, allocations: 3.375 kB / 0.8232 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.214e-05/0.553, allocations: 4.609 kB / 0.8232 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.663e-06/0.553, allocations: 3.938 kB / 0.8232 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.673e-05/0.553, allocations: 7.438 kB / 0.8232 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-06/0.553, allocations: 0.7031 kB / 0.8232 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.514e-05/0.553, allocations: 83.92 kB / 0.8233 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.553, allocations: 3.625 kB / 0.8233 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001349/0.5531, allocations: 9.75 kB / 0.8233 GB, free: 12.57 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.0002933/0.5534, allocations: 0.6006 MB / 0.8239 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001351/0.5536, allocations: 25.11 kB / 0.8239 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.5536, allocations: 0 / 0.8239 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.769e-05/0.5536, allocations: 18.3 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.0001178/0.5537, allocations: 11.05 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.0003824/0.5541, allocations: 130.6 kB / 0.8241 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001667/0.5543, allocations: 0.678 MB / 0.8247 GB, free: 11.1 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.555e-05/0.5543, allocations: 1.094 kB / 0.8247 GB, free: 11.1 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.496e-05/0.5543, allocations: 10.66 kB / 0.8247 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of SimCode: time 8.42e-07/0.5543, allocations: 0 / 0.8247 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01615/0.5705, allocations: 1.399 MB / 0.8261 GB, free: 10.69 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.738/8.309, allocations: 9.047 kB / 0.8261 GB, free: 10.68 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_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_m_flow.fmu > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.469227604102343] Failed to read output from testmodel.py, exit status != 0: 8.394150309963152 8.406665904 7.853791005 Calling exit ...