Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.000758/0.000758, allocations: 72.45 kB / 19.17 MB, free: 0.7344 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.0008568/0.0008568, allocations: 173.9 kB / 22.46 MB, free: 2.09 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.9155/0.9155, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7603/0.7603, allocations: 154.6 MB / 413.7 MB, free: 0.8008 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.275e-05/2.429e-05, allocations: 4.953 kB / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001792/0.001817, allocations: 1.269 MB / 0.6193 GB, free: 12.36 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007315/0.002548, allocations: 0.5176 MB / 0.6198 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.804e-05/0.002576, allocations: 0 / 0.6198 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.737e-05/0.002593, allocations: 0 / 0.6198 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.056e-05/0.002634, allocations: 7.938 kB / 0.6198 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004986/0.003133, allocations: 142.1 kB / 0.62 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.351e-05/0.003186, allocations: 11.94 kB / 0.62 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.228e-05/0.003228, allocations: 3.938 kB / 0.62 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.204e-05/0.00326, allocations: 11.97 kB / 0.62 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.005e-05/0.0033, allocations: 4 kB / 0.62 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.23e-05/0.003313, allocations: 0 / 0.62 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003094/0.003622, allocations: 267.4 kB / 0.6203 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.414e-05/0.003636, allocations: 4 kB / 0.6203 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.884e-05/0.003655, allocations: 11.88 kB / 0.6203 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001959/0.003851, allocations: 139.6 kB / 0.6204 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.003855, allocations: 0 / 0.6204 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.733e-06/0.003857, allocations: 4 kB / 0.6204 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.003861, allocations: 0 / 0.6204 GB, free: 11.25 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.0003271/0.004189, allocations: 282 kB / 0.6207 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.004231, allocations: 8.031 kB / 0.6207 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.862e-05/0.00426, allocations: 30.75 kB / 0.6207 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.651e-05/0.004286, allocations: 4.938 kB / 0.6207 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.963e-05/0.004366, allocations: 105.8 kB / 0.6208 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.004376, allocations: 4.375 kB / 0.6208 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.965e-06/0.004384, allocations: 384 / 0.6208 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.887e-05/0.004473, allocations: 42.19 kB / 0.6209 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.00448, allocations: 192 / 0.6209 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.093e-06/0.004487, allocations: 384 / 0.6209 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.004494, allocations: 8.125 kB / 0.6209 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.394e-05/0.004518, allocations: 0 / 0.6209 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001229/0.00464, allocations: 124.7 kB / 0.621 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 5.152e-05/0.004692, allocations: 26.59 kB / 0.621 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.643e-05/0.004708, allocations: 8.859 kB / 0.621 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.005e-05/0.004728, allocations: 0 / 0.621 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.115e-05/0.00475, allocations: 38.56 kB / 0.6211 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.00475, allocations: 0 / 0.6211 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0001357/0.004886, allocations: 37.7 kB / 0.6211 GB, free: 10.4 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.126e-05/0.004917, allocations: 55.34 kB / 0.6212 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.006e-05/0.004978, allocations: 101.8 kB / 0.6213 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.678e-06/0.004987, allocations: 25.7 kB / 0.6213 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.244e-05/0.00501, allocations: 80.14 kB / 0.6214 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.498e-05/0.005035, allocations: 8.203 kB / 0.6214 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.614e-05/0.005061, allocations: 13.72 kB / 0.6214 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.944e-05/0.00514, allocations: 318.8 kB / 0.6217 GB, free: 9.766 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.171e-05/0.005152, allocations: 0 / 0.6217 GB, free: 9.766 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.066e-05/0.005163, allocations: 7.984 kB / 0.6217 GB, free: 9.758 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.016e-05/0.005193, allocations: 16.8 kB / 0.6217 GB, free: 9.738 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.005195, allocations: 0 / 0.6217 GB, free: 9.738 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.966e-05/0.005245, allocations: 37.64 kB / 0.6217 GB, free: 9.695 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.00526, allocations: 4 kB / 0.6217 GB, free: 9.691 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.005265, allocations: 0 / 0.6217 GB, free: 9.691 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.005278, allocations: 8.094 kB / 0.6218 GB, free: 9.684 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001524/0.005431, allocations: 19.86 kB / 0.6218 GB, free: 9.664 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002842/0.005715, allocations: 0.5821 MB / 0.6223 GB, free: 9.059 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.909e-05/0.005734, allocations: 0 / 0.6223 GB, free: 9.059 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.00574, allocations: 0 / 0.6223 GB, free: 9.059 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 7.471e-05/0.005815, allocations: 114.9 kB / 0.6225 GB, free: 8.938 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.414e-06/0.005822, allocations: 3.938 kB / 0.6225 GB, free: 8.934 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001021/0.005924, allocations: 48.95 kB / 0.6225 GB, free: 8.879 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.005927, allocations: 4.125 kB / 0.6225 GB, free: 8.875 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.005931, allocations: 0 / 0.6225 GB, free: 8.875 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.005934, allocations: 0 / 0.6225 GB, free: 8.875 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.631e-05/0.006011, allocations: 120.8 kB / 0.6226 GB, free: 8.715 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.006014, allocations: 3.938 kB / 0.6226 GB, free: 8.711 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.946e-05/0.006073, allocations: 11.98 kB / 0.6226 GB, free: 8.699 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.006076, allocations: 0 / 0.6226 GB, free: 8.699 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.006083, allocations: 11.94 kB / 0.6226 GB, free: 8.688 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003635/0.006447, allocations: 0.5821 MB / 0.6232 GB, free: 8.082 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.006448, allocations: 96 / 0.6232 GB, free: 8.082 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.937e-05/0.006497, allocations: 73.09 kB / 0.6233 GB, free: 7.992 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.696e-06/0.006506, allocations: 0 / 0.6233 GB, free: 7.992 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.788e-06/0.006516, allocations: 0 / 0.6233 GB, free: 7.992 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.887e-06/0.006525, allocations: 4 kB / 0.6233 GB, free: 7.988 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.164e-05/0.006537, allocations: 3.938 kB / 0.6233 GB, free: 7.984 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-06/0.006539, allocations: 4 kB / 0.6233 GB, free: 7.98 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.566e-05/0.006565, allocations: 75.28 kB / 0.6234 GB, free: 7.906 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.006565, allocations: 0 / 0.6234 GB, free: 7.906 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001419/0.006707, allocations: 15.88 kB / 0.6234 GB, free: 7.891 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.0003228/0.007029, allocations: 0.6125 MB / 0.624 GB, free: 7.25 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001566/0.007186, allocations: 23.92 kB / 0.624 GB, free: 7.227 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.007188, allocations: 0 / 0.624 GB, free: 7.227 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.197e-05/0.00722, allocations: 15.98 kB / 0.624 GB, free: 7.211 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001199/0.00734, allocations: 2.234 kB / 0.624 GB, free: 7.211 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004802/0.00782, allocations: 134.7 kB / 0.6242 GB, free: 7.039 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.3e-05/0.007863, allocations: 55.36 kB / 0.6242 GB, free: 6.965 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.771e-05/0.007881, allocations: 4 kB / 0.6242 GB, free: 6.961 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.174e-05/0.007913, allocations: 16.42 kB / 0.6242 GB, free: 6.945 MB / 0.5886 GB Notification: Performance of SimCode: time 8.11e-07/0.007913, allocations: 0 / 0.6242 GB, free: 6.945 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01754/0.02546, allocations: 1.928 MB / 0.6261 GB, free: 5.199 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.727/7.753, allocations: 11.83 kB / 0.6261 GB, free: 5.191 MB / 0.5886 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.51054481137544] Failed to read output from testmodel.py, exit status != 0: 7.842844212427735 7.854886886 7.849143839 Calling exit ...