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.001138/0.001138, allocations: 105.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.001367/0.001367, allocations: 206.6 kB / 22.24 MB, free: 3.582 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.9767/0.9767, allocations: 230.6 MB / 256 MB, free: 9.609 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.7719/0.7719, allocations: 203.8 MB / 0.5042 GB, free: 10.44 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.0008876/0.0008876, allocations: 63.25 kB / 0.7182 GB, free: 4.051 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5206/0.5215, allocations: 102 MB / 0.8178 GB, free: 1.039 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001992/0.5235, allocations: 1.276 MB / 0.819 GB, free: 148 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000812/0.5243, allocations: 0.5153 MB / 0.8195 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.614e-05/0.5243, allocations: 2.281 kB / 0.8195 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.091e-05/0.5243, allocations: 0 / 0.8195 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.189e-05/0.5244, allocations: 4.594 kB / 0.8195 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005686/0.525, allocations: 142.8 kB / 0.8197 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.753e-05/0.525, allocations: 8.344 kB / 0.8197 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.611e-05/0.5251, allocations: 2.266 kB / 0.8197 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.12e-05/0.5251, allocations: 6.75 kB / 0.8197 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.38e-05/0.5252, allocations: 8.875 kB / 0.8197 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.342e-05/0.5252, allocations: 0 / 0.8197 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003976/0.5256, allocations: 273.5 kB / 0.82 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.21e-05/0.5256, allocations: 4.453 kB / 0.82 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.184e-05/0.5256, allocations: 0 / 0.82 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002644/0.5259, allocations: 131 kB / 0.8201 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.5259, allocations: 5.75 kB / 0.8201 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.435e-06/0.5259, allocations: 0 / 0.8201 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.606e-06/0.5259, allocations: 0 / 0.8201 GB, free: 15.63 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.0003766/0.5263, allocations: 272.9 kB / 0.8204 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.5263, allocations: 12.59 kB / 0.8204 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.412e-05/0.5263, allocations: 35.27 kB / 0.8204 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.394e-05/0.5264, allocations: 3.719 kB / 0.8204 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.404e-05/0.5265, allocations: 107.7 kB / 0.8205 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.5265, allocations: 3.938 kB / 0.8205 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.593e-06/0.5265, allocations: 4.312 kB / 0.8205 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.304e-05/0.5266, allocations: 31.67 kB / 0.8206 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.5266, allocations: 3.938 kB / 0.8206 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.5266, allocations: 0.5156 kB / 0.8206 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.5266, allocations: 0 / 0.8206 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.617e-05/0.5266, allocations: 11.11 kB / 0.8206 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001381/0.5268, allocations: 118.4 kB / 0.8207 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.558e-05/0.5268, allocations: 25.14 kB / 0.8207 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.194e-05/0.5268, allocations: 10.83 kB / 0.8207 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.379e-05/0.5269, allocations: 0.9844 kB / 0.8207 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.5269, allocations: 32.91 kB / 0.8207 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.5269, allocations: 0 / 0.8207 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001436/0.527, allocations: 46.95 kB / 0.8208 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.205e-05/0.5271, allocations: 51.41 kB / 0.8208 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.964e-05/0.5271, allocations: 99.03 kB / 0.8209 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.105e-05/0.5271, allocations: 25.7 kB / 0.821 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.687e-05/0.5272, allocations: 84.94 kB / 0.821 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.516e-05/0.5272, allocations: 7.891 kB / 0.8211 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.298e-05/0.5272, allocations: 14.23 kB / 0.8211 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.789e-05/0.5273, allocations: 311.5 kB / 0.8214 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.346e-05/0.5273, allocations: 12.56 kB / 0.8214 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.614e-06/0.5273, allocations: 7.438 kB / 0.8214 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.708e-05/0.5273, allocations: 9.656 kB / 0.8214 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.5273, allocations: 4.188 kB / 0.8214 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.256e-05/0.5274, allocations: 42.41 kB / 0.8214 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.5274, allocations: 9.031 kB / 0.8214 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.5274, allocations: 11.66 kB / 0.8215 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.5274, allocations: 0 / 0.8215 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001502/0.5276, allocations: 11.62 kB / 0.8215 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000306/0.5279, allocations: 0.5815 MB / 0.822 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.625e-05/0.5279, allocations: 6.156 kB / 0.822 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.5279, allocations: 0 / 0.822 GB, free: 13.57 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.645e-05/0.528, allocations: 115.3 kB / 0.8221 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.64e-06/0.528, allocations: 6.703 kB / 0.8222 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001082/0.5281, allocations: 53 kB / 0.8222 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.5281, allocations: 0.5625 kB / 0.8222 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.5281, allocations: 0 / 0.8222 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.5281, allocations: 0.7969 kB / 0.8222 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.652e-05/0.5282, allocations: 127.6 kB / 0.8223 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.5282, allocations: 0 / 0.8223 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.939e-05/0.5282, allocations: 8.656 kB / 0.8223 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.5282, allocations: 4.031 kB / 0.8223 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.742e-06/0.5282, allocations: 1.312 kB / 0.8223 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002171/0.5285, allocations: 0.5803 MB / 0.8229 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.5285, allocations: 8.625 kB / 0.8229 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.937e-05/0.5285, allocations: 69.55 kB / 0.823 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.807e-06/0.5285, allocations: 6.422 kB / 0.823 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.113e-05/0.5285, allocations: 0.6562 kB / 0.823 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.304e-06/0.5285, allocations: 1 kB / 0.823 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.448e-05/0.5286, allocations: 8.703 kB / 0.823 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-06/0.5286, allocations: 4 kB / 0.823 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.733e-05/0.5286, allocations: 75.94 kB / 0.8231 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5286, allocations: 0 / 0.8231 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001429/0.5287, allocations: 12.97 kB / 0.8231 GB, free: 12.48 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.0003225/0.5291, allocations: 0.6017 MB / 0.8237 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001546/0.5292, allocations: 27.06 kB / 0.8237 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.5292, allocations: 192 / 0.8237 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.567e-05/0.5292, allocations: 15.44 kB / 0.8237 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001201/0.5294, allocations: 11.16 kB / 0.8237 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004499/0.5298, allocations: 126.5 kB / 0.8238 GB, free: 11.72 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.723e-05/0.5299, allocations: 59.55 kB / 0.8239 GB, free: 11.65 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.02e-05/0.5299, allocations: 0 / 0.8239 GB, free: 11.65 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.678e-05/0.5299, allocations: 13.62 kB / 0.8239 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of SimCode: time 3.91e-07/0.5299, allocations: 8 kB / 0.8239 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01997/0.5499, allocations: 1.802 MB / 0.8257 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.039/8.589, allocations: 5.438 kB / 0.8257 GB, free: 10.82 MB / 0.6198 GB " [Timeout remaining time 651] (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.589042789768428] Failed to read output from testmodel.py, exit status != 0: 8.674870244693011 8.689145358 8.160985051 Calling exit ...