Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.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.001078/0.001078, allocations: 76.44 kB / 19.17 MB, free: 0.7305 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.000974/0.000974, allocations: 169.9 kB / 22.46 MB, free: 2.094 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.9398/0.9398, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.7715/0.7715, allocations: 154.5 MB / 413.7 MB, free: 0.8359 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.Logical.Validation.Latch,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Latch",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Validation.Latch,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Latch",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.515e-06/2.515e-06, allocations: 0 / 0.6181 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.064e-05/2.315e-05, allocations: 5.453 kB / 0.6181 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Latch): time 0.001529/0.001552, allocations: 0.7327 MB / 0.6188 GB, free: 12.98 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001321/0.002873, allocations: 1.275 MB / 0.62 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.13e-05/0.002944, allocations: 4 kB / 0.62 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.794e-05/0.002982, allocations: 11.86 kB / 0.62 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.635e-05/0.003059, allocations: 11.88 kB / 0.62 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005931/0.003652, allocations: 265.8 kB / 0.6203 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002711/0.003923, allocations: 251.6 kB / 0.6205 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001396/0.004062, allocations: 41.27 kB / 0.6206 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001457/0.004208, allocations: 143.8 kB / 0.6207 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001228/0.004331, allocations: 79.8 kB / 0.6208 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.293e-05/0.004364, allocations: 27.98 kB / 0.6208 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 7.184e-05/0.004436, allocations: 39.92 kB / 0.6209 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 3.845e-05/0.004474, allocations: 35.89 kB / 0.6209 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 7.463e-05/0.004549, allocations: 79.86 kB / 0.621 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002528/0.004802, allocations: 287.2 kB / 0.6212 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.004803, allocations: 8 kB / 0.6212 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.302e-06/0.004805, allocations: 0 / 0.6212 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.648e-06/0.004809, allocations: 0 / 0.6212 GB, free: 10.43 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0005418/0.005351, allocations: 421.2 kB / 0.6216 GB, free: 9.973 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.005388, allocations: 13.47 kB / 0.6217 GB, free: 9.961 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.573e-05/0.005424, allocations: 42.73 kB / 0.6217 GB, free: 9.91 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.824e-05/0.005472, allocations: 20.84 kB / 0.6217 GB, free: 9.891 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003411/0.005813, allocations: 177.8 kB / 0.6219 GB, free: 9.691 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.005829, allocations: 16.38 kB / 0.6219 GB, free: 9.676 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.73e-05/0.005856, allocations: 16.38 kB / 0.6219 GB, free: 9.66 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001805/0.006036, allocations: 142 kB / 0.6221 GB, free: 9.516 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.006045, allocations: 192 / 0.6221 GB, free: 9.516 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.006057, allocations: 384 / 0.6221 GB, free: 9.516 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.084e-06/0.006064, allocations: 7.938 kB / 0.6221 GB, free: 9.508 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001366/0.0062, allocations: 71.95 kB / 0.6221 GB, free: 9.438 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004533/0.006654, allocations: 375.5 kB / 0.6225 GB, free: 9.027 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001288/0.006782, allocations: 82.53 kB / 0.6226 GB, free: 8.938 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.027e-05/0.006823, allocations: 28.84 kB / 0.6226 GB, free: 8.906 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 9.297e-06/0.006832, allocations: 15.88 kB / 0.6226 GB, free: 8.891 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002238/0.007056, allocations: 131.2 kB / 0.6227 GB, free: 8.75 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=16): time 1.243e-06/0.007057, allocations: 0 / 0.6227 GB, free: 8.75 MB / 0.5886 GB Notification: Performance of matching and sorting (n=16): time 0.0003191/0.007376, allocations: 248.8 kB / 0.623 GB, free: 8.504 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.568e-05/0.007412, allocations: 59.39 kB / 0.623 GB, free: 8.434 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.247e-05/0.007494, allocations: 153.4 kB / 0.6232 GB, free: 8.277 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.238e-05/0.007517, allocations: 33.7 kB / 0.6232 GB, free: 8.238 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.629e-05/0.007573, allocations: 112.6 kB / 0.6233 GB, free: 8.125 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.74e-05/0.00759, allocations: 35.73 kB / 0.6234 GB, free: 8.09 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.807e-05/0.007668, allocations: 73.67 kB / 0.6234 GB, free: 8.012 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.207e-05/0.00775, allocations: 322.8 kB / 0.6237 GB, free: 7.688 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001219/0.007872, allocations: 127.4 kB / 0.6239 GB, free: 7.551 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001323/0.008005, allocations: 186.3 kB / 0.624 GB, free: 7.332 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001643/0.008169, allocations: 215 kB / 0.6242 GB, free: 7.082 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.008171, allocations: 4 kB / 0.6242 GB, free: 7.078 MB / 0.5886 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003261/0.008497, allocations: 375.2 kB / 0.6246 GB, free: 6.684 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.882e-05/0.008536, allocations: 63.34 kB / 0.6247 GB, free: 6.609 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.008543, allocations: 4 kB / 0.6247 GB, free: 6.605 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.008555, allocations: 256 / 0.6247 GB, free: 6.605 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.937e-05/0.008574, allocations: 23.92 kB / 0.6247 GB, free: 6.582 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.008579, allocations: 0 / 0.6247 GB, free: 6.582 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001775/0.008757, allocations: 55.89 kB / 0.6247 GB, free: 6.527 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.2e-05/0.008779, allocations: 19.98 kB / 0.6248 GB, free: 6.508 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,truCleFalIni.y,truCleTruIni.y,latInp.y,$PRE.latInp.y,cleInp.y,$PRE.cleInp.y,swiCleInp1.y,swiCleInp.y,falCleFalIni.y,falCleTruIni.y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,tru.y,fal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 2 * 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 9.166e-05/0.00887, allocations: 137.5 kB / 0.6249 GB, free: 6.367 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.202e-05/0.008882, allocations: 15.91 kB / 0.6249 GB, free: 6.352 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.089e-05/0.008913, allocations: 20.7 kB / 0.6249 GB, free: 6.324 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.008916, allocations: 0 / 0.6249 GB, free: 6.324 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.008921, allocations: 4 kB / 0.6249 GB, free: 6.32 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.008925, allocations: 0 / 0.6249 GB, free: 6.32 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000318/0.009243, allocations: 456.1 kB / 0.6254 GB, free: 5.828 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.009244, allocations: 0 / 0.6254 GB, free: 5.828 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.632e-06/0.009251, allocations: 7.922 kB / 0.6254 GB, free: 5.82 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.009253, allocations: 4 kB / 0.6254 GB, free: 5.816 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/0.009261, allocations: 0 / 0.6254 GB, free: 5.816 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.009263, allocations: 0 / 0.6254 GB, free: 5.816 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.009264, allocations: 8 kB / 0.6254 GB, free: 5.809 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001902/0.009454, allocations: 307.2 kB / 0.6257 GB, free: 5.492 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 9.428e-06/0.009464, allocations: 11.91 kB / 0.6257 GB, free: 5.48 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.502e-05/0.009479, allocations: 3.984 kB / 0.6257 GB, free: 5.477 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.913e-05/0.009518, allocations: 11.98 kB / 0.6257 GB, free: 5.465 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.441e-05/0.009552, allocations: 7.984 kB / 0.6257 GB, free: 5.457 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.734e-05/0.00957, allocations: 19.92 kB / 0.6257 GB, free: 5.438 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.579e-05/0.009606, allocations: 95.27 kB / 0.6258 GB, free: 5.344 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.009606, allocations: 0 / 0.6258 GB, free: 5.344 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002081/0.009814, allocations: 43.94 kB / 0.6259 GB, free: 5.301 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: 16 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,falCleTruIni.y,truCleTruIni.y,falCleFalIni.y,truCleFalIni.y,swiCleInp.y,swiCleInp1.y,cleInp.y,latInp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0004119/0.01023, allocations: 0.8399 MB / 0.6267 GB, free: 4.438 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000291/0.01052, allocations: 322.1 kB / 0.627 GB, free: 4.086 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.01052, allocations: 4 kB / 0.627 GB, free: 4.082 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 7.136e-05/0.01059, allocations: 55.91 kB / 0.627 GB, free: 4.027 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002256/0.01082, allocations: 28.47 kB / 0.6271 GB, free: 4 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001672/0.01249, allocations: 2.279 MB / 0.6293 GB, free: 1.523 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.348e-05/0.01255, allocations: 90.78 kB / 0.6294 GB, free: 1.418 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.594e-05/0.01259, allocations: 17.14 kB / 0.6294 GB, free: 1.402 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.737e-05/0.01263, allocations: 40.48 kB / 0.6294 GB, free: 1.363 MB / 0.5886 GB Notification: Performance of SimCode: time 7.61e-07/0.01263, allocations: 0 / 0.6294 GB, free: 1.363 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01832/0.03095, allocations: 4.498 MB / 0.6338 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.943/6.974, allocations: 17.75 kB / 0.6338 GB, free: 13.04 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Latch_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Latch.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.804978035390377] Failed to read output from testmodel.py, exit status != 0: 7.057722897268832 7.069235172 7.062620618 Calling exit ...