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.0008119/0.0008119, 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.0008493/0.0008493, allocations: 169.9 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.9033/0.9033, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.7392/0.7392, allocations: 154.5 MB / 413.7 MB, free: 0.8281 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_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: Performance of FrontEnd - loaded program: time 1.263e-06/1.263e-06, allocations: 0 / 0.618 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.615e-05/1.741e-05, allocations: 5.094 kB / 0.618 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001559/0.001577, allocations: 1.275 MB / 0.6193 GB, free: 12.4 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007482/0.002325, allocations: 0.5175 MB / 0.6198 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.329e-05/0.002348, allocations: 4 kB / 0.6198 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.717e-05/0.002365, allocations: 0 / 0.6198 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.224e-05/0.002408, allocations: 3.938 kB / 0.6198 GB, free: 11.87 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004298/0.002837, allocations: 139.3 kB / 0.6199 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.771e-05/0.002895, allocations: 11.94 kB / 0.6199 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 5.166e-05/0.002947, allocations: 0 / 0.6199 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.733e-05/0.002984, allocations: 7.984 kB / 0.62 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.856e-05/0.003033, allocations: 11.98 kB / 0.62 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.38e-05/0.003047, allocations: 0 / 0.62 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002966/0.003343, allocations: 267.4 kB / 0.6202 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.316e-05/0.003356, allocations: 0 / 0.6202 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.913e-05/0.003375, allocations: 7.938 kB / 0.6202 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002038/0.003579, allocations: 143.6 kB / 0.6204 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.003581, allocations: 0 / 0.6204 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.034e-06/0.003583, allocations: 4 kB / 0.6204 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.003587, allocations: 0 / 0.6204 GB, free: 11.29 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.0003827/0.00397, allocations: 278 kB / 0.6206 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/0.004021, allocations: 13.47 kB / 0.6206 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.341e-05/0.004054, allocations: 34.75 kB / 0.6207 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.717e-05/0.004081, allocations: 4.938 kB / 0.6207 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002925/0.004374, allocations: 101.8 kB / 0.6208 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.004386, allocations: 384 / 0.6208 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.076e-06/0.004394, allocations: 384 / 0.6208 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001091/0.004503, allocations: 38.19 kB / 0.6208 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.004512, allocations: 192 / 0.6208 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.507e-06/0.004521, allocations: 4.375 kB / 0.6208 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.00453, allocations: 8.125 kB / 0.6208 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.806e-05/0.004558, allocations: 0 / 0.6208 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001435/0.004702, allocations: 128.6 kB / 0.621 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 5.291e-05/0.004755, allocations: 26.59 kB / 0.621 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.696e-05/0.004772, allocations: 8.922 kB / 0.621 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.625e-05/0.004798, allocations: 3.984 kB / 0.621 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.004821, allocations: 38.5 kB / 0.621 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 6.41e-07/0.004821, allocations: 0 / 0.621 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0001336/0.004955, allocations: 41.66 kB / 0.6211 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.16e-05/0.004986, allocations: 55.34 kB / 0.6211 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.44e-05/0.005041, allocations: 102 kB / 0.6212 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.719e-06/0.005051, allocations: 29.7 kB / 0.6212 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.084e-05/0.005071, allocations: 80.14 kB / 0.6213 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.418e-05/0.005096, allocations: 7.953 kB / 0.6213 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.358e-05/0.005119, allocations: 9.719 kB / 0.6213 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.088e-05/0.00519, allocations: 314.8 kB / 0.6216 GB, free: 9.801 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.638e-06/0.0052, allocations: 4 kB / 0.6216 GB, free: 9.797 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.424e-06/0.005207, allocations: 3.984 kB / 0.6216 GB, free: 9.793 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.486e-05/0.005232, allocations: 16.8 kB / 0.6217 GB, free: 9.773 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.005234, allocations: 0 / 0.6217 GB, free: 9.773 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.041e-05/0.005274, allocations: 41.89 kB / 0.6217 GB, free: 9.727 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.005286, allocations: 4 kB / 0.6217 GB, free: 9.723 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.005292, allocations: 0 / 0.6217 GB, free: 9.723 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.005304, allocations: 4 kB / 0.6217 GB, free: 9.719 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001415/0.005446, allocations: 15.86 kB / 0.6217 GB, free: 9.703 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002582/0.005704, allocations: 0.586 MB / 0.6223 GB, free: 9.094 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.177e-05/0.005716, allocations: 0 / 0.6223 GB, free: 9.094 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.61e-06/0.005721, allocations: 0 / 0.6223 GB, free: 9.094 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 5.597e-05/0.005777, allocations: 115 kB / 0.6224 GB, free: 8.973 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.39e-06/0.005783, allocations: 7.938 kB / 0.6224 GB, free: 8.965 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.87e-05/0.005861, allocations: 45 kB / 0.6225 GB, free: 8.91 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.005863, allocations: 0 / 0.6225 GB, free: 8.91 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.005867, allocations: 0 / 0.6225 GB, free: 8.91 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.00587, allocations: 0 / 0.6225 GB, free: 8.91 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.201e-05/0.005932, allocations: 120.8 kB / 0.6226 GB, free: 8.75 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.005934, allocations: 3.938 kB / 0.6226 GB, free: 8.746 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.85e-05/0.005982, allocations: 11.98 kB / 0.6226 GB, free: 8.734 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.005984, allocations: 0 / 0.6226 GB, free: 8.734 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.001e-06/0.00599, allocations: 4.031 kB / 0.6226 GB, free: 8.73 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002006/0.006191, allocations: 0.5937 MB / 0.6232 GB, free: 8.113 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.006192, allocations: 0 / 0.6232 GB, free: 8.113 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.719e-05/0.006239, allocations: 65.09 kB / 0.6232 GB, free: 8.031 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.751e-06/0.006245, allocations: 4 kB / 0.6232 GB, free: 8.027 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.247e-06/0.006254, allocations: 0 / 0.6232 GB, free: 8.027 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.382e-06/0.00626, allocations: 3.938 kB / 0.6232 GB, free: 8.023 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.586e-05/0.006276, allocations: 3.938 kB / 0.6232 GB, free: 8.02 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.00628, allocations: 4 kB / 0.6232 GB, free: 8.016 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.57e-05/0.006316, allocations: 83.41 kB / 0.6233 GB, free: 7.934 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6.1e-08/0.006316, allocations: 0 / 0.6233 GB, free: 7.934 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001299/0.006446, allocations: 15.88 kB / 0.6233 GB, free: 7.918 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.0002854/0.006731, allocations: 0.6046 MB / 0.6239 GB, free: 7.285 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001283/0.006859, allocations: 15.98 kB / 0.6239 GB, free: 7.27 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.006861, allocations: 3.938 kB / 0.624 GB, free: 7.266 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.278e-05/0.006894, allocations: 20.17 kB / 0.624 GB, free: 7.246 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001095/0.007003, allocations: 6.25 kB / 0.624 GB, free: 7.242 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003776/0.007381, allocations: 134.5 kB / 0.6241 GB, free: 7.07 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.786e-05/0.007419, allocations: 55.36 kB / 0.6242 GB, free: 6.996 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.602e-05/0.007435, allocations: 4 kB / 0.6242 GB, free: 6.992 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.421e-05/0.007459, allocations: 12.48 kB / 0.6242 GB, free: 6.98 MB / 0.5886 GB Notification: Performance of SimCode: time 4.61e-07/0.00746, allocations: 0 / 0.6242 GB, free: 6.98 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01617/0.02363, allocations: 1.939 MB / 0.6261 GB, free: 5.238 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.108/8.131, allocations: 4.766 kB / 0.6261 GB, free: 5.234 MB / 0.5886 GB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 10.859210714697838] Failed to read output from testmodel.py, exit status != 0: 8.216840044595301 8.230429065 8.224831962 Calling exit ...