Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Equal.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.001195/0.001195, 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.001208/0.001208, allocations: 165.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.9811/0.9811, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.7318/0.7318, allocations: 154.5 MB / 413.7 MB, free: 0.8477 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.Controls.OBC.CDL.Integers.Validation.Equal,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_Equal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.Equal,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_Equal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.627e-06/3.627e-06, allocations: 0 / 0.6181 GB, free: 13.78 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.058e-05/3.421e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.77 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Equal): time 0.003744/0.003778, allocations: 1.961 MB / 0.62 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.00189/0.005668, allocations: 1.282 MB / 0.6212 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001074/0.005776, allocations: 7.938 kB / 0.6212 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0003642/0.00614, allocations: 163.3 kB / 0.6214 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0003651/0.006505, allocations: 219 kB / 0.6216 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002619/0.006767, allocations: 163.5 kB / 0.6217 GB, free: 9.969 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002923/0.007059, allocations: 342.9 kB / 0.6221 GB, free: 9.633 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001404/0.007199, allocations: 28.91 kB / 0.6221 GB, free: 9.598 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001905/0.00739, allocations: 195.5 kB / 0.6223 GB, free: 9.406 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001594/0.007549, allocations: 139.6 kB / 0.6224 GB, free: 9.27 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.558e-05/0.007575, allocations: 16 kB / 0.6224 GB, free: 9.254 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/0.007678, allocations: 59.92 kB / 0.6225 GB, free: 9.195 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 8.615e-05/0.007764, allocations: 95.61 kB / 0.6226 GB, free: 9.102 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 6.499e-05/0.007829, allocations: 71.77 kB / 0.6227 GB, free: 9.031 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0004595/0.008288, allocations: 378.7 kB / 0.623 GB, free: 8.66 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.008292, allocations: 3.984 kB / 0.623 GB, free: 8.656 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.142e-06/0.008293, allocations: 4 kB / 0.623 GB, free: 8.652 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.632e-06/0.0083, allocations: 3.938 kB / 0.623 GB, free: 8.648 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007966/0.009096, allocations: 0.5625 MB / 0.6236 GB, free: 8.055 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 6.19e-05/0.009158, allocations: 9.469 kB / 0.6236 GB, free: 8.047 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.999e-05/0.009208, allocations: 42.69 kB / 0.6236 GB, free: 7.996 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.608e-05/0.009284, allocations: 36.7 kB / 0.6237 GB, free: 7.961 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004885/0.009773, allocations: 320.1 kB / 0.624 GB, free: 7.629 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.664e-05/0.009799, allocations: 15.94 kB / 0.624 GB, free: 7.613 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.902e-05/0.009818, allocations: 8 kB / 0.624 GB, free: 7.605 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002223/0.01004, allocations: 113.5 kB / 0.6241 GB, free: 7.488 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.01005, allocations: 0 / 0.6241 GB, free: 7.488 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.01006, allocations: 4 kB / 0.6241 GB, free: 7.484 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.01007, allocations: 4 kB / 0.6241 GB, free: 7.48 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001267/0.0102, allocations: 67.89 kB / 0.6242 GB, free: 7.414 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005932/0.01079, allocations: 443.6 kB / 0.6246 GB, free: 6.938 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002254/0.01102, allocations: 138.7 kB / 0.6247 GB, free: 6.793 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.095e-05/0.0111, allocations: 52.83 kB / 0.6248 GB, free: 6.738 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.633e-05/0.01111, allocations: 3.984 kB / 0.6248 GB, free: 6.734 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001777/0.01129, allocations: 115.3 kB / 0.6249 GB, free: 6.609 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=13): time 1.352e-06/0.01129, allocations: 0 / 0.6249 GB, free: 6.609 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13): time 0.0003934/0.01169, allocations: 233.2 kB / 0.6251 GB, free: 6.375 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.02e-05/0.01173, allocations: 51.41 kB / 0.6252 GB, free: 6.312 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004522/0.01218, allocations: 0.5367 MB / 0.6257 GB, free: 5.77 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.0122, allocations: 33.64 kB / 0.6257 GB, free: 5.73 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.0123, allocations: 184.4 kB / 0.6259 GB, free: 5.547 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.748e-05/0.01233, allocations: 31.73 kB / 0.6259 GB, free: 5.516 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.655e-05/0.01241, allocations: 69.97 kB / 0.626 GB, free: 5.438 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.01252, allocations: 346.8 kB / 0.6263 GB, free: 5.09 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001296/0.01265, allocations: 104.5 kB / 0.6264 GB, free: 4.988 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001394/0.01278, allocations: 131.6 kB / 0.6265 GB, free: 4.852 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000219/0.013, allocations: 191.5 kB / 0.6267 GB, free: 4.656 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.01301, allocations: 0 / 0.6267 GB, free: 4.656 MB / 0.5886 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003674/0.01337, allocations: 338.2 kB / 0.6271 GB, free: 4.32 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.01339, allocations: 5.875 kB / 0.6271 GB, free: 4.316 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.0134, allocations: 4 kB / 0.6271 GB, free: 4.312 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.01341, allocations: 3.938 kB / 0.6271 GB, free: 4.309 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001372/0.01355, allocations: 51.91 kB / 0.6271 GB, free: 4.258 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.01356, allocations: 0 / 0.6271 GB, free: 4.258 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.86e-05/0.01363, allocations: 20.05 kB / 0.6271 GB, free: 4.238 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.65e-05/0.01366, allocations: 12 kB / 0.6271 GB, free: 4.227 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.timTabLin1.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition1,timTabLin1.tab.nextTimeEventScaled,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,reaToInt1.y,reaToInt.y,intEqu.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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 0.0001446/0.01381, allocations: 182.7 kB / 0.6273 GB, free: 4.039 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.195e-05/0.01384, allocations: 35.77 kB / 0.6274 GB, free: 4.004 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003269/0.01416, allocations: 219.6 kB / 0.6276 GB, free: 3.789 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.01417, allocations: 7.938 kB / 0.6276 GB, free: 3.781 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.01418, allocations: 0 / 0.6276 GB, free: 3.781 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.01418, allocations: 0 / 0.6276 GB, free: 3.781 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002006/0.01438, allocations: 260.6 kB / 0.6278 GB, free: 3.484 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.01438, allocations: 4 kB / 0.6278 GB, free: 3.48 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.253e-05/0.01442, allocations: 15.98 kB / 0.6278 GB, free: 3.465 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.01443, allocations: 0 / 0.6278 GB, free: 3.465 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.01444, allocations: 8 kB / 0.6278 GB, free: 3.457 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.01444, allocations: 3.938 kB / 0.6278 GB, free: 3.453 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.01444, allocations: 0 / 0.6278 GB, free: 3.453 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002199/0.01466, allocations: 220.8 kB / 0.6281 GB, free: 3.219 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.289e-05/0.01471, allocations: 47.62 kB / 0.6281 GB, free: 3.172 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.653e-05/0.01473, allocations: 8 kB / 0.6281 GB, free: 3.164 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.68e-05/0.01478, allocations: 15.92 kB / 0.6281 GB, free: 3.148 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.573e-05/0.01483, allocations: 23.97 kB / 0.6282 GB, free: 3.125 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.227e-06/0.01484, allocations: 4 kB / 0.6282 GB, free: 3.121 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0002365/0.01508, allocations: 327.1 kB / 0.6285 GB, free: 2.801 MB / 0.5886 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01508, allocations: 0 / 0.6285 GB, free: 2.801 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002039/0.01528, allocations: 59.92 kB / 0.6285 GB, free: 2.742 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: 9 ($whenCondition2,$whenCondition1,intEqu.y,reaToInt.y,reaToInt1.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00128/0.01656, allocations: 1.106 MB / 0.6296 GB, free: 1.832 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000345/0.01691, allocations: 197.1 kB / 0.6298 GB, free: 1.641 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.01691, allocations: 0 / 0.6298 GB, free: 1.641 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001579/0.01707, allocations: 67.83 kB / 0.6299 GB, free: 1.574 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003145/0.01738, allocations: 101.2 kB / 0.63 GB, free: 1.488 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002757/0.02014, allocations: 3.234 MB / 0.6331 GB, free: 14.16 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001157/0.02026, allocations: 187.9 kB / 0.6333 GB, free: 13.95 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 9.732e-05/0.02035, allocations: 54.94 kB / 0.6333 GB, free: 13.9 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001229/0.02048, allocations: 120.5 kB / 0.6335 GB, free: 13.78 MB / 0.6042 GB Notification: Performance of SimCode: time 4.81e-07/0.02048, allocations: 0 / 0.6335 GB, free: 13.78 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03168/0.05215, allocations: 8.47 MB / 0.6417 GB, free: 5.449 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.917/6.969, allocations: 0 / 0.6417 GB, free: 5.449 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Equal.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Equal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_Equal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_Equal.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.878922085277736] Failed to read output from testmodel.py, exit status != 0: 7.076118981465697 7.092591743 7.080932313 Calling exit ...