Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.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.0008248/0.0008248, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.001588/0.001588, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9029/0.9029, allocations: 177.2 MB / 202.8 MB, free: 5.738 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.7138/0.7138, allocations: 154.6 MB / 413.8 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.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.915e-05/2.121e-05, allocations: 4.953 kB / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.001253/0.001275, allocations: 0.6872 MB / 0.6188 GB, free: 12.97 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007325/0.002007, allocations: 0.8587 MB / 0.6196 GB, free: 12.1 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.577e-05/0.002043, allocations: 0 / 0.6196 GB, free: 12.1 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.925e-05/0.002072, allocations: 3.938 kB / 0.6196 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.471e-05/0.002147, allocations: 3.938 kB / 0.6196 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001398/0.002287, allocations: 23.97 kB / 0.6197 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.223e-05/0.002359, allocations: 47.86 kB / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.661e-05/0.002455, allocations: 19.91 kB / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.845e-05/0.002524, allocations: 19.98 kB / 0.6197 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.87e-05/0.002573, allocations: 23.91 kB / 0.6198 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.338e-05/0.002596, allocations: 4 kB / 0.6198 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 8.927e-06/0.002605, allocations: 4 kB / 0.6198 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.813e-05/0.002623, allocations: 15.98 kB / 0.6198 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.083e-05/0.002644, allocations: 15.92 kB / 0.6198 GB, free: 11.92 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 8.784e-05/0.002732, allocations: 51.78 kB / 0.6198 GB, free: 11.87 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.002733, allocations: 0 / 0.6198 GB, free: 11.87 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.092e-06/0.002735, allocations: 0 / 0.6198 GB, free: 11.87 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.547e-06/0.002738, allocations: 4 kB / 0.6199 GB, free: 11.86 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003609/0.003099, allocations: 278.3 kB / 0.6201 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.003136, allocations: 8.031 kB / 0.6201 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.792e-05/0.003164, allocations: 34.75 kB / 0.6202 GB, free: 11.51 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.181e-05/0.003186, allocations: 4.891 kB / 0.6202 GB, free: 11.51 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.515e-05/0.003271, allocations: 113.7 kB / 0.6203 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.003285, allocations: 12.31 kB / 0.6203 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.145e-06/0.003293, allocations: 384 / 0.6203 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001355/0.003428, allocations: 69.97 kB / 0.6203 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.003435, allocations: 4 kB / 0.6204 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/0.003443, allocations: 3.938 kB / 0.6204 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-06/0.003447, allocations: 0 / 0.6204 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001096/0.003557, allocations: 51.95 kB / 0.6204 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003007/0.003857, allocations: 251.9 kB / 0.6206 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001218/0.003979, allocations: 70.52 kB / 0.6207 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.975e-05/0.004039, allocations: 32.88 kB / 0.6207 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.376e-05/0.004053, allocations: 0 / 0.6207 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.912e-05/0.004072, allocations: 30.56 kB / 0.6208 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 7.32e-07/0.004073, allocations: 0 / 0.6208 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4): time 0.0002331/0.004306, allocations: 105.6 kB / 0.6209 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.648e-05/0.004332, allocations: 55.41 kB / 0.6209 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.573e-05/0.004388, allocations: 109.8 kB / 0.621 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.518e-06/0.004397, allocations: 25.7 kB / 0.6211 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.626e-05/0.004434, allocations: 88.12 kB / 0.6211 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.294e-05/0.004447, allocations: 11.95 kB / 0.6212 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.781e-05/0.004474, allocations: 21.66 kB / 0.6212 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.137e-05/0.004546, allocations: 322.8 kB / 0.6215 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.073e-05/0.004597, allocations: 23.98 kB / 0.6215 GB, free: 9.984 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.589e-05/0.004642, allocations: 23.97 kB / 0.6215 GB, free: 9.961 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.421e-05/0.004737, allocations: 53.08 kB / 0.6216 GB, free: 9.906 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.004738, allocations: 0 / 0.6216 GB, free: 9.906 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001216/0.00486, allocations: 93.55 kB / 0.6217 GB, free: 9.809 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.004871, allocations: 4 kB / 0.6217 GB, free: 9.805 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.004875, allocations: 0 / 0.6217 GB, free: 9.805 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.004887, allocations: 7.984 kB / 0.6217 GB, free: 9.797 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.946e-05/0.004957, allocations: 11.92 kB / 0.6217 GB, free: 9.785 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.004965, allocations: 4 kB / 0.6217 GB, free: 9.781 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.09e-05/0.004996, allocations: 7.938 kB / 0.6217 GB, free: 9.773 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.005001, allocations: 3.984 kB / 0.6217 GB, free: 9.77 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: 2 (reaToInt.y,intGreEquThr.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 5.48e-05/0.005056, allocations: 126.7 kB / 0.6218 GB, free: 9.637 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.299e-05/0.005069, allocations: 3.953 kB / 0.6218 GB, free: 9.633 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.543e-05/0.005085, allocations: 8 kB / 0.6218 GB, free: 9.621 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.005086, allocations: 0 / 0.6218 GB, free: 9.621 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.005089, allocations: 0 / 0.6218 GB, free: 9.621 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.005092, allocations: 0 / 0.6218 GB, free: 9.621 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001027/0.005195, allocations: 144.7 kB / 0.622 GB, free: 9.438 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-07/0.005195, allocations: 0 / 0.622 GB, free: 9.438 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.307e-05/0.005228, allocations: 15.98 kB / 0.622 GB, free: 9.422 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.00523, allocations: 0 / 0.622 GB, free: 9.422 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.005237, allocations: 8 kB / 0.622 GB, free: 9.414 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.005238, allocations: 0 / 0.622 GB, free: 9.414 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.005239, allocations: 0 / 0.622 GB, free: 9.414 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00015/0.005389, allocations: 183.4 kB / 0.6222 GB, free: 9.219 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.025e-06/0.005397, allocations: 7.953 kB / 0.6222 GB, free: 9.211 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.856e-06/0.005406, allocations: 0 / 0.6222 GB, free: 9.211 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.383e-05/0.005449, allocations: 7.984 kB / 0.6222 GB, free: 9.203 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.35e-05/0.005493, allocations: 11.98 kB / 0.6222 GB, free: 9.191 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/0.005497, allocations: 4 kB / 0.6222 GB, free: 9.188 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.754e-05/0.005524, allocations: 91.27 kB / 0.6223 GB, free: 9.098 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.005524, allocations: 0 / 0.6223 GB, free: 9.098 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000141/0.005665, allocations: 8 kB / 0.6223 GB, free: 9.09 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: 2 (intGreEquThr.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.0003179/0.005983, allocations: 0.7046 MB / 0.623 GB, free: 8.355 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001436/0.006127, allocations: 59.88 kB / 0.623 GB, free: 8.297 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.006128, allocations: 4 kB / 0.623 GB, free: 8.293 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.606e-05/0.006184, allocations: 27.98 kB / 0.6231 GB, free: 8.266 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002063/0.006391, allocations: 9.859 kB / 0.6231 GB, free: 8.258 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009725/0.007363, allocations: 1.339 MB / 0.6244 GB, free: 6.84 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.566e-05/0.007409, allocations: 71.34 kB / 0.6245 GB, free: 6.75 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.066e-05/0.00744, allocations: 7.938 kB / 0.6245 GB, free: 6.742 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.687e-05/0.007486, allocations: 16.48 kB / 0.6245 GB, free: 6.727 MB / 0.5886 GB Notification: Performance of SimCode: time 6.21e-07/0.007487, allocations: 4 kB / 0.6245 GB, free: 6.723 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01635/0.02384, allocations: 2.547 MB / 0.627 GB, free: 4.332 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.874/6.898, allocations: 12.77 kB / 0.627 GB, free: 4.328 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.683175379410386] Failed to read output from testmodel.py, exit status != 0: 6.9793351497501135 6.987501866 6.982991527 Calling exit ...