Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.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.001487/0.001487, 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.001608/0.001608, allocations: 212.1 kB / 22.25 MB, free: 3.727 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 1.018/1.018, allocations: 230.6 MB / 256 MB, free: 9.586 MB / 202.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.7879/0.7879, allocations: 203.5 MB / 0.5039 GB, free: 10.72 MB / 410.7 MB " [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.Controls.OBC.CDL.Reals.Validation.GreaterThreshold,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_GreaterThreshold",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.0009843/0.0009843, allocations: 75.86 kB / 0.7178 GB, free: 4.363 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5762/0.5772, allocations: 102 MB / 0.8174 GB, free: 1.246 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.001656/0.5789, allocations: 0.7887 MB / 0.8182 GB, free: 0.7461 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008704/0.5797, allocations: 0.9042 MB / 0.8191 GB, free: 72 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.999e-05/0.5798, allocations: 6.812 kB / 0.8191 GB, free: 68 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001305/0.58, allocations: 14.84 kB / 0.8191 GB, free: 56 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.238e-05/0.58, allocations: 10.36 kB / 0.8191 GB, free: 48 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002087/0.5802, allocations: 30.62 kB / 0.8191 GB, free: 32 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001323/0.5803, allocations: 75 kB / 0.8192 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001301/0.5805, allocations: 25.98 kB / 0.8192 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001503/0.5806, allocations: 37.41 kB / 0.8193 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.773e-05/0.5807, allocations: 33.09 kB / 0.8193 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.509e-05/0.5807, allocations: 5.656 kB / 0.8193 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.331e-05/0.5808, allocations: 12.62 kB / 0.8193 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.719e-05/0.5808, allocations: 11.06 kB / 0.8193 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.978e-05/0.5808, allocations: 24.11 kB / 0.8194 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001809/0.581, allocations: 83.11 kB / 0.8194 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.581, allocations: 3.938 kB / 0.8194 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.385e-06/0.581, allocations: 1.031 kB / 0.8194 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.473e-06/0.581, allocations: 0 / 0.8194 GB, free: 15.88 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004734/0.5815, allocations: 316.4 kB / 0.8197 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.5815, allocations: 12.72 kB / 0.8197 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.752e-05/0.5816, allocations: 37.67 kB / 0.8198 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001447/0.5817, allocations: 18.52 kB / 0.8198 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002615/0.582, allocations: 145.2 kB / 0.8199 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.582, allocations: 4.375 kB / 0.8199 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.004e-05/0.582, allocations: 3.938 kB / 0.8199 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001294/0.5821, allocations: 67.61 kB / 0.82 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.5821, allocations: 3.938 kB / 0.82 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.5821, allocations: 4.797 kB / 0.82 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.5821, allocations: 0 / 0.82 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.249e-05/0.5822, allocations: 31.44 kB / 0.8201 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003881/0.5826, allocations: 276.8 kB / 0.8203 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001278/0.5827, allocations: 45.53 kB / 0.8204 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.882e-05/0.5828, allocations: 19.02 kB / 0.8204 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/0.5828, allocations: 7.984 kB / 0.8204 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.5828, allocations: 37.59 kB / 0.8204 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.442e-06/0.5828, allocations: 0 / 0.8204 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0002156/0.583, allocations: 80.86 kB / 0.8205 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.206e-05/0.5831, allocations: 51.41 kB / 0.8205 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001/0.5832, allocations: 138.2 kB / 0.8207 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.357e-05/0.5832, allocations: 25.7 kB / 0.8207 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.294e-05/0.5832, allocations: 103.6 kB / 0.8208 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.499e-05/0.5832, allocations: 6.812 kB / 0.8208 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.57e-05/0.5833, allocations: 23.95 kB / 0.8208 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.62e-05/0.5834, allocations: 324.2 kB / 0.8211 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.088e-05/0.5834, allocations: 12.3 kB / 0.8212 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.457e-05/0.5835, allocations: 16.8 kB / 0.8212 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.234e-05/0.5835, allocations: 29.31 kB / 0.8212 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.5835, allocations: 3.938 kB / 0.8212 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001067/0.5836, allocations: 67.16 kB / 0.8213 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.5837, allocations: 6.375 kB / 0.8213 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.5837, allocations: 0 / 0.8213 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.5837, allocations: 4.656 kB / 0.8213 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.88e-05/0.5838, allocations: 5.188 kB / 0.8213 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.5838, allocations: 0 / 0.8213 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.513e-05/0.5838, allocations: 13.58 kB / 0.8213 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/0.5838, allocations: 6.5 kB / 0.8213 GB, free: 14.18 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: 3 (greHys.greHys.y,$PRE.greHys.greHys.y,gre.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.291e-05/0.5839, allocations: 116.1 kB / 0.8214 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.743e-05/0.5839, allocations: 6.078 kB / 0.8214 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.971e-05/0.5839, allocations: 13.5 kB / 0.8214 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.5839, allocations: 0 / 0.8214 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.584, allocations: 4.609 kB / 0.8214 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.584, allocations: 0 / 0.8214 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001439/0.5841, allocations: 149.9 kB / 0.8216 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.5841, allocations: 0 / 0.8216 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.034e-05/0.5841, allocations: 6.031 kB / 0.8216 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.5841, allocations: 0 / 0.8216 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.5841, allocations: 0 / 0.8216 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.5841, allocations: 1.641 kB / 0.8216 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.5841, allocations: 0 / 0.8216 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001529/0.5843, allocations: 161.8 kB / 0.8217 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.456e-05/0.5843, allocations: 9.719 kB / 0.8217 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.009e-05/0.5843, allocations: 5.344 kB / 0.8218 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.293e-05/0.5844, allocations: 11.06 kB / 0.8218 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.797e-05/0.5844, allocations: 11.31 kB / 0.8218 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.5845, allocations: 0.5156 kB / 0.8218 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.673e-05/0.5845, allocations: 109.1 kB / 0.8219 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5845, allocations: 0 / 0.8219 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001494/0.5847, allocations: 5.422 kB / 0.8219 GB, free: 13.63 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: 2 (gre.y,greHys.greHys.y) * Number of discrete states: 1 (greHys.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004082/0.5851, allocations: 0.7005 MB / 0.8226 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001312/0.5852, allocations: 31.59 kB / 0.8226 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.5852, allocations: 1.125 kB / 0.8226 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.367e-05/0.5852, allocations: 20.03 kB / 0.8226 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002188/0.5855, allocations: 18.06 kB / 0.8226 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001018/0.5865, allocations: 1.393 MB / 0.824 GB, free: 11.67 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.101e-05/0.5865, allocations: 88.31 kB / 0.8241 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.535e-05/0.5866, allocations: 4.188 kB / 0.8241 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.108e-05/0.5866, allocations: 22.7 kB / 0.8241 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of SimCode: time 5.11e-07/0.5866, allocations: 0 / 0.8241 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01855/0.6052, allocations: 2.567 MB / 0.8266 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.306/7.911, allocations: 5.766 kB / 0.8266 GB, free: 10.68 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_GreaterThreshold_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_GreaterThreshold.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.979056579992175] Failed to read output from testmodel.py, exit status != 0: 7.990714846178889 8.009530341 7.42591436 Calling exit ...