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.00107/0.00107, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.001364/0.001364, allocations: 211.5 kB / 22.24 MB, free: 3.594 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.9734/0.9734, allocations: 230.6 MB / 256 MB, free: 9.602 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.7925/0.7925, 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.0009919/0.0009919, allocations: 66.78 kB / 0.7182 GB, free: 4.039 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.557/0.558, allocations: 102 MB / 0.8178 GB, free: 1.035 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001698/0.5597, allocations: 1.284 MB / 0.819 GB, free: 144 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000763/0.5605, allocations: 0.5134 MB / 0.8195 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.523e-05/0.5605, allocations: 0 / 0.8195 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.229e-05/0.5605, allocations: 0.8906 kB / 0.8195 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.731e-05/0.5606, allocations: 3.984 kB / 0.8195 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005181/0.5611, allocations: 146.8 kB / 0.8197 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.649e-05/0.5611, allocations: 11.81 kB / 0.8197 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.666e-05/0.5612, allocations: 0.5156 kB / 0.8197 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.323e-05/0.5612, allocations: 2.766 kB / 0.8197 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.87e-05/0.5613, allocations: 4.828 kB / 0.8197 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.141e-05/0.5613, allocations: 0 / 0.8197 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003418/0.5616, allocations: 270.1 kB / 0.82 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.653e-05/0.5616, allocations: 8.5 kB / 0.82 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.956e-05/0.5617, allocations: 3.609 kB / 0.82 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002336/0.5619, allocations: 135 kB / 0.8201 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.5619, allocations: 4 kB / 0.8201 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.515e-06/0.5619, allocations: 0 / 0.8201 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.554e-06/0.5619, allocations: 0 / 0.8201 GB, free: 15.62 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.0003648/0.5623, allocations: 276 kB / 0.8204 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.5623, allocations: 10.03 kB / 0.8204 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.687e-05/0.5623, allocations: 31.5 kB / 0.8204 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.396e-05/0.5624, allocations: 6.094 kB / 0.8204 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.925e-05/0.5624, allocations: 112.7 kB / 0.8205 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.5624, allocations: 384 / 0.8205 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.873e-06/0.5625, allocations: 0.9375 kB / 0.8205 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.459e-05/0.5625, allocations: 37.94 kB / 0.8206 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.5625, allocations: 3.938 kB / 0.8206 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.133e-06/0.5626, allocations: 0 / 0.8206 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.5626, allocations: 1.766 kB / 0.8206 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.439e-05/0.5626, allocations: 3.922 kB / 0.8206 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001308/0.5627, allocations: 120.6 kB / 0.8207 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.211e-05/0.5628, allocations: 24.83 kB / 0.8207 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.234e-05/0.5628, allocations: 11.78 kB / 0.8207 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.223e-05/0.5628, allocations: 1.25 kB / 0.8207 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.468e-05/0.5628, allocations: 38.95 kB / 0.8208 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.773e-06/0.5628, allocations: 3.984 kB / 0.8208 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001235/0.563, allocations: 42.61 kB / 0.8208 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.734e-05/0.563, allocations: 53.95 kB / 0.8209 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.42e-05/0.5631, allocations: 93.31 kB / 0.8209 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.868e-06/0.5631, allocations: 25.7 kB / 0.821 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.987e-05/0.5631, allocations: 82.14 kB / 0.821 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.659e-05/0.5631, allocations: 12.59 kB / 0.8211 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.237e-05/0.5631, allocations: 13.02 kB / 0.8211 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.5632, allocations: 317.1 kB / 0.8214 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.274e-05/0.5632, allocations: 10.02 kB / 0.8214 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.107e-06/0.5633, allocations: 5.047 kB / 0.8214 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.38e-05/0.5633, allocations: 13.89 kB / 0.8214 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.5633, allocations: 0 / 0.8214 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.346e-05/0.5633, allocations: 42.8 kB / 0.8214 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.5633, allocations: 11.44 kB / 0.8215 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.5633, allocations: 0.5156 kB / 0.8215 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.5634, allocations: 0 / 0.8215 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001321/0.5635, allocations: 11.5 kB / 0.8215 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002722/0.5638, allocations: 0.5901 MB / 0.822 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.443e-05/0.5638, allocations: 1.594 kB / 0.822 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.11e-06/0.5638, allocations: 0 / 0.822 GB, free: 13.56 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.518e-05/0.5638, allocations: 116.2 kB / 0.8222 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.857e-06/0.5639, allocations: 1.219 kB / 0.8222 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001661/0.564, allocations: 45.53 kB / 0.8222 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.564, allocations: 0 / 0.8222 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.564, allocations: 7.391 kB / 0.8222 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.564, allocations: 6.312 kB / 0.8222 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.011e-05/0.5641, allocations: 126.9 kB / 0.8223 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.5641, allocations: 0 / 0.8223 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.846e-05/0.5642, allocations: 10.62 kB / 0.8223 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.5642, allocations: 0 / 0.8223 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.5642, allocations: 1.562 kB / 0.8223 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002018/0.5644, allocations: 0.5788 MB / 0.8229 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.5644, allocations: 11.62 kB / 0.8229 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.034e-05/0.5644, allocations: 68 kB / 0.823 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.735e-06/0.5644, allocations: 6.25 kB / 0.823 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.538e-06/0.5644, allocations: 0 / 0.823 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.025e-06/0.5644, allocations: 2.297 kB / 0.823 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.777e-05/0.5645, allocations: 4.5 kB / 0.823 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.5645, allocations: 5.969 kB / 0.823 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.395e-05/0.5645, allocations: 78.2 kB / 0.8231 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5645, allocations: 0 / 0.8231 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001425/0.5646, allocations: 11.59 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.0003264/0.565, allocations: 0.6087 MB / 0.8237 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001478/0.5651, allocations: 23.02 kB / 0.8237 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.5651, allocations: 0 / 0.8237 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.943e-05/0.5652, allocations: 12.33 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.0001177/0.5653, allocations: 9.219 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.0003985/0.5657, allocations: 129.4 kB / 0.8239 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.506e-05/0.5657, allocations: 57.36 kB / 0.8239 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.648e-05/0.5657, allocations: 4.609 kB / 0.8239 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.675e-05/0.5658, allocations: 10.94 kB / 0.8239 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of SimCode: time 6.51e-07/0.5658, allocations: 0 / 0.8239 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01732/0.5831, allocations: 1.809 MB / 0.8257 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.725/8.308, allocations: 8.953 kB / 0.8257 GB, free: 10.8 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.253078015055507] Failed to read output from testmodel.py, exit status != 0: 8.391756126191467 8.401912639 7.837976064 Calling exit ...