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.001015/0.001015, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008399/0.0008399, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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.8907/0.8907, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.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.7241/0.7241, allocations: 154.6 MB / 413.7 MB, free: 0.8203 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 2.816e-06/2.816e-06, allocations: 4 kB / 0.618 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.6e-05/1.882e-05, allocations: 2.281 kB / 0.618 GB, free: 13.74 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001545/0.001563, allocations: 1.264 MB / 0.6193 GB, free: 12.46 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001004/0.002568, allocations: 0.5214 MB / 0.6198 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.113e-05/0.002589, allocations: 0 / 0.6198 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.81e-05/0.002607, allocations: 3.938 kB / 0.6198 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 3.822e-05/0.002645, allocations: 0 / 0.6198 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003913/0.003036, allocations: 143.3 kB / 0.6199 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 4.988e-05/0.003086, allocations: 15.92 kB / 0.6199 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.155e-05/0.003128, allocations: 7.984 kB / 0.62 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.026e-05/0.003158, allocations: 3.938 kB / 0.62 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.276e-05/0.003201, allocations: 4 kB / 0.62 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.302e-05/0.003214, allocations: 0 / 0.62 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002722/0.003486, allocations: 267.4 kB / 0.6202 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.468e-05/0.003501, allocations: 4 kB / 0.6202 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.465e-05/0.003515, allocations: 4 kB / 0.6202 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001973/0.003712, allocations: 155.5 kB / 0.6204 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.003715, allocations: 0 / 0.6204 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.21e-07/0.003716, allocations: 0 / 0.6204 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.00372, allocations: 0 / 0.6204 GB, free: 11.34 MB / 0.5886 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.0002937/0.004014, allocations: 270.1 kB / 0.6206 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.004051, allocations: 9.469 kB / 0.6206 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.958e-05/0.00408, allocations: 34.75 kB / 0.6207 GB, free: 11 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.044e-05/0.004101, allocations: 0.9375 kB / 0.6207 GB, free: 11 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.209e-05/0.004173, allocations: 101.8 kB / 0.6208 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.666e-06/0.004181, allocations: 384 / 0.6208 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.097e-06/0.00419, allocations: 8.375 kB / 0.6208 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.315e-05/0.004274, allocations: 38.25 kB / 0.6208 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.652e-06/0.00428, allocations: 192 / 0.6208 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.602e-06/0.004287, allocations: 384 / 0.6208 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.004292, allocations: 4.125 kB / 0.6208 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.27e-05/0.004315, allocations: 11.88 kB / 0.6208 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000118/0.004433, allocations: 120.7 kB / 0.6209 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 4.333e-05/0.004476, allocations: 26.59 kB / 0.621 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.319e-05/0.00449, allocations: 4.859 kB / 0.621 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.822e-05/0.004508, allocations: 4 kB / 0.621 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.966e-05/0.004527, allocations: 38.62 kB / 0.621 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 8.31e-07/0.004528, allocations: 3.938 kB / 0.621 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0001284/0.004657, allocations: 49.56 kB / 0.6211 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.037e-05/0.004687, allocations: 55.34 kB / 0.6211 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.366e-05/0.004741, allocations: 97.86 kB / 0.6212 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.067e-06/0.00475, allocations: 25.7 kB / 0.6212 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.106e-05/0.004771, allocations: 80.14 kB / 0.6213 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.306e-05/0.004794, allocations: 7.953 kB / 0.6213 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.332e-05/0.004817, allocations: 9.969 kB / 0.6213 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.94e-05/0.004897, allocations: 326.8 kB / 0.6216 GB, free: 9.855 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.278e-06/0.004906, allocations: 0 / 0.6216 GB, free: 9.855 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.614e-06/0.004913, allocations: 4 kB / 0.6216 GB, free: 9.852 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.416e-05/0.004938, allocations: 12.86 kB / 0.6217 GB, free: 9.836 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.004939, allocations: 0 / 0.6217 GB, free: 9.836 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.655e-05/0.004976, allocations: 37.64 kB / 0.6217 GB, free: 9.793 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.004991, allocations: 8 kB / 0.6217 GB, free: 9.785 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.004996, allocations: 0 / 0.6217 GB, free: 9.785 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.005009, allocations: 3.984 kB / 0.6217 GB, free: 9.781 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001404/0.005149, allocations: 16.03 kB / 0.6217 GB, free: 9.766 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002728/0.005422, allocations: 0.5782 MB / 0.6223 GB, free: 9.164 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.132e-05/0.005434, allocations: 0 / 0.6223 GB, free: 9.164 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-06/0.005438, allocations: 0 / 0.6223 GB, free: 9.164 MB / 0.5886 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.167e-05/0.005499, allocations: 118.8 kB / 0.6224 GB, free: 9.039 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.767e-06/0.005503, allocations: 3.938 kB / 0.6224 GB, free: 9.035 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.384e-05/0.005587, allocations: 44.95 kB / 0.6224 GB, free: 8.98 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.00559, allocations: 4.109 kB / 0.6224 GB, free: 8.977 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.005595, allocations: 4 kB / 0.6225 GB, free: 8.973 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.005599, allocations: 8 kB / 0.6225 GB, free: 8.965 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.047e-05/0.005659, allocations: 116.8 kB / 0.6226 GB, free: 8.809 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.005662, allocations: 7.938 kB / 0.6226 GB, free: 8.801 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.625e-05/0.005708, allocations: 7.984 kB / 0.6226 GB, free: 8.793 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.005711, allocations: 4 kB / 0.6226 GB, free: 8.789 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-06/0.005717, allocations: 0 / 0.6226 GB, free: 8.789 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000188/0.005905, allocations: 0.5898 MB / 0.6232 GB, free: 8.176 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.005906, allocations: 0 / 0.6232 GB, free: 8.176 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.201e-05/0.005948, allocations: 69.19 kB / 0.6232 GB, free: 8.09 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.841e-06/0.005954, allocations: 0 / 0.6232 GB, free: 8.09 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.608e-06/0.005963, allocations: 11.88 kB / 0.6232 GB, free: 8.078 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.052e-06/0.005969, allocations: 0 / 0.6232 GB, free: 8.078 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.401e-05/0.005983, allocations: 4 kB / 0.6232 GB, free: 8.074 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-06/0.005985, allocations: 0 / 0.6232 GB, free: 8.074 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.471e-05/0.00601, allocations: 79.27 kB / 0.6233 GB, free: 7.996 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.00601, allocations: 0 / 0.6233 GB, free: 7.996 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001268/0.006137, allocations: 15.88 kB / 0.6233 GB, free: 7.98 MB / 0.5886 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.0002593/0.006396, allocations: 0.6121 MB / 0.6239 GB, free: 7.344 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000115/0.006511, allocations: 23.98 kB / 0.624 GB, free: 7.32 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.006512, allocations: 0 / 0.624 GB, free: 7.32 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.159e-05/0.006544, allocations: 11.98 kB / 0.624 GB, free: 7.309 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001027/0.006647, allocations: 6.188 kB / 0.624 GB, free: 7.305 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003279/0.006975, allocations: 130.7 kB / 0.6241 GB, free: 7.137 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.357e-05/0.007008, allocations: 63.34 kB / 0.6242 GB, free: 7.055 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.318e-05/0.007021, allocations: 0 / 0.6242 GB, free: 7.055 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.648e-05/0.007048, allocations: 8.5 kB / 0.6242 GB, free: 7.047 MB / 0.5886 GB Notification: Performance of SimCode: time 5.61e-07/0.007048, allocations: 0 / 0.6242 GB, free: 7.047 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01736/0.02441, allocations: 1.961 MB / 0.6261 GB, free: 5.297 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.407/8.431, allocations: 2.422 kB / 0.6261 GB, free: 5.297 MB / 0.5886 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.274120399728417] Failed to read output from testmodel.py, exit status != 0: 8.518967397511005 8.528613122 8.52322868 Calling exit ...