Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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.0007338/0.0007338, allocations: 80.45 kB / 19.15 MB, free: 0.7734 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.0007902/0.0007902, allocations: 162 kB / 22.43 MB, free: 2.145 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.8447/0.8447, allocations: 177.2 MB / 202.8 MB, free: 5.793 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.688/0.688, allocations: 155 MB / 414.2 MB, free: 464 kB / 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.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",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.0008902/0.0008902, allocations: 71.17 kB / 0.6187 GB, free: 13.25 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4331/0.434, allocations: 102 MB / 0.7183 GB, free: 23.1 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.001248/0.4352, allocations: 0.6824 MB / 0.7189 GB, free: 22.68 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0006225/0.4358, allocations: 0.8629 MB / 0.7198 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.366e-05/0.4359, allocations: 0 / 0.7198 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.63e-05/0.4359, allocations: 4.594 kB / 0.7198 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.485e-05/0.4359, allocations: 6.344 kB / 0.7198 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001282/0.4361, allocations: 22.56 kB / 0.7198 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 7.179e-05/0.4361, allocations: 44.42 kB / 0.7198 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.514e-05/0.4362, allocations: 9.062 kB / 0.7199 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 7.092e-05/0.4363, allocations: 35.05 kB / 0.7199 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 5.56e-05/0.4364, allocations: 25.14 kB / 0.7199 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.945e-05/0.4364, allocations: 3.75 kB / 0.7199 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 8.807e-06/0.4364, allocations: 3.562 kB / 0.7199 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.759e-05/0.4364, allocations: 12.61 kB / 0.7199 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.278e-05/0.4364, allocations: 17.88 kB / 0.7199 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 9.756e-05/0.4365, allocations: 52.91 kB / 0.72 GB, free: 21.92 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.4365, allocations: 0 / 0.72 GB, free: 21.92 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.873e-06/0.4365, allocations: 1.797 kB / 0.72 GB, free: 21.92 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.4365, allocations: 0 / 0.72 GB, free: 21.92 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003459/0.4369, allocations: 293.9 kB / 0.7203 GB, free: 21.63 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.4369, allocations: 10.78 kB / 0.7203 GB, free: 21.63 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.197e-05/0.437, allocations: 33.16 kB / 0.7203 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.186e-05/0.437, allocations: 7.172 kB / 0.7203 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.012e-05/0.437, allocations: 111.4 kB / 0.7204 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.4371, allocations: 2.656 kB / 0.7204 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.066e-05/0.4371, allocations: 6.25 kB / 0.7204 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001282/0.4372, allocations: 72.69 kB / 0.7205 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-06/0.4372, allocations: 3.938 kB / 0.7205 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.4372, allocations: 4.609 kB / 0.7205 GB, free: 21.4 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.4372, allocations: 1.094 kB / 0.7205 GB, free: 21.4 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001186/0.4373, allocations: 52.05 kB / 0.7206 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002744/0.4376, allocations: 256.7 kB / 0.7208 GB, free: 21.13 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001222/0.4377, allocations: 64.48 kB / 0.7209 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.713e-05/0.4378, allocations: 28.56 kB / 0.7209 GB, free: 21.08 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.405e-05/0.4378, allocations: 1.031 kB / 0.7209 GB, free: 21.08 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.377e-05/0.4378, allocations: 40.2 kB / 0.7209 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.4378, allocations: 0 / 0.7209 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002464/0.4381, allocations: 101.3 kB / 0.721 GB, free: 20.99 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.809e-05/0.4381, allocations: 52.44 kB / 0.7211 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.387e-05/0.4381, allocations: 115.3 kB / 0.7212 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.174e-06/0.4381, allocations: 26.8 kB / 0.7212 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.415e-05/0.4382, allocations: 87.56 kB / 0.7213 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.418e-05/0.4382, allocations: 17.67 kB / 0.7213 GB, free: 20.69 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.567e-05/0.4382, allocations: 20.83 kB / 0.7213 GB, free: 20.67 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.705e-05/0.4382, allocations: 321.8 kB / 0.7217 GB, free: 20.35 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.801e-05/0.4383, allocations: 21.91 kB / 0.7217 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.799e-05/0.4383, allocations: 23.06 kB / 0.7217 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001016/0.4384, allocations: 55.11 kB / 0.7217 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.4384, allocations: 0 / 0.7217 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001257/0.4386, allocations: 87.58 kB / 0.7218 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.4386, allocations: 6.594 kB / 0.7218 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.4386, allocations: 48 / 0.7218 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.4386, allocations: 3.984 kB / 0.7218 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.583e-05/0.4387, allocations: 16.31 kB / 0.7219 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.399e-06/0.4387, allocations: 0 / 0.7219 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.336e-05/0.4387, allocations: 11.81 kB / 0.7219 GB, free: 20.26 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5e-06/0.4387, allocations: 2 kB / 0.7219 GB, free: 20.26 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (reaToInt.y,intLesEquThr.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 4.194e-05/0.4387, allocations: 115.5 kB / 0.722 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.326e-05/0.4388, allocations: 7.141 kB / 0.722 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.655e-05/0.4388, allocations: 13.72 kB / 0.722 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-06/0.4388, allocations: 0 / 0.722 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.4388, allocations: 1.375 kB / 0.722 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.4388, allocations: 4.594 kB / 0.722 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.381e-05/0.4389, allocations: 140.8 kB / 0.7221 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.4389, allocations: 0 / 0.7221 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.797e-05/0.4389, allocations: 13.28 kB / 0.7222 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.4389, allocations: 0 / 0.7222 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.4389, allocations: 0.7031 kB / 0.7222 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-07/0.4389, allocations: 5.281 kB / 0.7222 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.4389, allocations: 0.7969 kB / 0.7222 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00014/0.4391, allocations: 184.7 kB / 0.7223 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.525e-06/0.4391, allocations: 2.125 kB / 0.7223 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.949e-06/0.4391, allocations: 0.5625 kB / 0.7223 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.543e-05/0.4391, allocations: 7.422 kB / 0.7223 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.57e-05/0.4392, allocations: 12.67 kB / 0.7224 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.99e-06/0.4392, allocations: 9.969 kB / 0.7224 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.944e-05/0.4392, allocations: 87.19 kB / 0.7224 GB, free: 19.71 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4392, allocations: 4 kB / 0.7225 GB, free: 19.71 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001435/0.4393, allocations: 10.42 kB / 0.7225 GB, free: 19.71 MB / 0.6355 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 (intLesEquThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0002445/0.4396, allocations: 0.7201 MB / 0.7232 GB, free: 19.03 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001501/0.4397, allocations: 52.11 kB / 0.7232 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.4397, allocations: 0 / 0.7232 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.178e-05/0.4398, allocations: 37.03 kB / 0.7232 GB, free: 19.01 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002197/0.44, allocations: 8.281 kB / 0.7233 GB, free: 19.01 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008288/0.4409, allocations: 1.322 MB / 0.7245 GB, free: 17.8 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.838e-05/0.4409, allocations: 67.97 kB / 0.7246 GB, free: 17.73 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.46e-05/0.4409, allocations: 8.703 kB / 0.7246 GB, free: 17.72 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.354e-05/0.441, allocations: 22.3 kB / 0.7246 GB, free: 17.71 MB / 0.6355 GB Notification: Performance of SimCode: time 4.81e-07/0.441, allocations: 1.219 kB / 0.7246 GB, free: 17.71 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01596/0.4569, allocations: 2.544 MB / 0.7271 GB, free: 16.79 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.735/7.192, allocations: 7.781 kB / 0.7271 GB, free: 16.79 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.698123290203512] Failed to read output from testmodel.py, exit status != 0: 7.271160083124414 7.279754143 6.841552205 Calling exit ...