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.0009147/0.0009147, 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.001114/0.001114, allocations: 218.7 kB / 22.25 MB, free: 3.57 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.025/1.025, allocations: 230.6 MB / 256 MB, free: 9.598 MB / 202.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.8023/0.8023, allocations: 203.8 MB / 0.5042 GB, free: 10.44 MB / 410.7 MB " [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: 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.0009001/0.0009001, allocations: 70.23 kB / 0.7182 GB, free: 4.031 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5376/0.5385, allocations: 102 MB / 0.8178 GB, free: 1.035 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Latch): time 0.001472/0.54, allocations: 0.7426 MB / 0.8185 GB, free: 0.5664 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0012/0.5412, allocations: 1.267 MB / 0.8198 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.62e-05/0.5413, allocations: 1.75 kB / 0.8198 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.938e-05/0.5413, allocations: 13.97 kB / 0.8198 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.181e-05/0.5414, allocations: 21.97 kB / 0.8198 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006376/0.542, allocations: 251.9 kB / 0.82 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003061/0.5423, allocations: 265.2 kB / 0.8203 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001389/0.5425, allocations: 48.62 kB / 0.8203 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001389/0.5426, allocations: 101.3 kB / 0.8204 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001501/0.5427, allocations: 94.05 kB / 0.8205 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.361e-05/0.5428, allocations: 21.84 kB / 0.8205 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.247e-05/0.5429, allocations: 38.91 kB / 0.8206 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.251e-05/0.5429, allocations: 36.42 kB / 0.8206 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.193e-05/0.543, allocations: 85.31 kB / 0.8207 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002764/0.5433, allocations: 248.2 kB / 0.8209 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.5433, allocations: 0 / 0.8209 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.204e-06/0.5433, allocations: 4 kB / 0.8209 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.5433, allocations: 0 / 0.8209 GB, free: 15.14 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.000511/0.5438, allocations: 425.7 kB / 0.8213 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.5438, allocations: 11.62 kB / 0.8214 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.701e-05/0.5439, allocations: 45.48 kB / 0.8214 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.417e-05/0.5439, allocations: 17.39 kB / 0.8214 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003637/0.5443, allocations: 180.5 kB / 0.8216 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/0.5443, allocations: 16.11 kB / 0.8216 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.981e-05/0.5443, allocations: 20.81 kB / 0.8216 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000173/0.5445, allocations: 141.4 kB / 0.8218 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.353e-06/0.5445, allocations: 3.875 kB / 0.8218 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.5445, allocations: 6.25 kB / 0.8218 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.5445, allocations: 2 kB / 0.8218 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.576e-05/0.5446, allocations: 68.94 kB / 0.8218 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000457/0.5451, allocations: 377.2 kB / 0.8222 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001486/0.5452, allocations: 79.2 kB / 0.8223 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.687e-05/0.5453, allocations: 33 kB / 0.8223 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.121e-05/0.5453, allocations: 5.156 kB / 0.8223 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002351/0.5456, allocations: 142.1 kB / 0.8224 GB, free: 14 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 1.803e-06/0.5456, allocations: 3.938 kB / 0.8225 GB, free: 14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.0003607/0.5459, allocations: 241.1 kB / 0.8227 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/0.546, allocations: 58.42 kB / 0.8227 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.482e-05/0.546, allocations: 142.2 kB / 0.8229 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.741e-05/0.5461, allocations: 34.52 kB / 0.8229 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.98e-05/0.5461, allocations: 107.5 kB / 0.823 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.535e-05/0.5462, allocations: 39.25 kB / 0.823 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.571e-05/0.5463, allocations: 77.47 kB / 0.8231 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.203e-05/0.5463, allocations: 321.2 kB / 0.8234 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001319/0.5465, allocations: 131.3 kB / 0.8235 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001543/0.5466, allocations: 185.9 kB / 0.8237 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001807/0.5468, allocations: 218.9 kB / 0.8239 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.5468, allocations: 0 / 0.8239 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003766/0.5472, allocations: 383.3 kB / 0.8243 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.228e-05/0.5472, allocations: 66.95 kB / 0.8244 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.5472, allocations: 2.656 kB / 0.8244 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.5473, allocations: 2.406 kB / 0.8244 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.12e-05/0.5473, allocations: 10.66 kB / 0.8244 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.5473, allocations: 7.109 kB / 0.8244 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001986/0.5475, allocations: 56.73 kB / 0.8244 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.304e-05/0.5475, allocations: 14.84 kB / 0.8245 GB, free: 12.44 MB / 0.6198 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.533e-05/0.5476, allocations: 141.4 kB / 0.8246 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.517e-05/0.5476, allocations: 14.61 kB / 0.8246 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.657e-05/0.5476, allocations: 16.69 kB / 0.8246 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.5476, allocations: 1.125 kB / 0.8246 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.5476, allocations: 1.219 kB / 0.8246 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.5477, allocations: 1.219 kB / 0.8246 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003854/0.548, allocations: 454.9 kB / 0.8251 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.548, allocations: 5.344 kB / 0.8251 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.598e-06/0.548, allocations: 2.328 kB / 0.8251 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.5481, allocations: 1.219 kB / 0.8251 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.5481, allocations: 8.578 kB / 0.8251 GB, free: 11.94 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.5481, allocations: 0.9062 kB / 0.8251 GB, free: 11.94 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.5481, allocations: 5.672 kB / 0.8251 GB, free: 11.94 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002138/0.5483, allocations: 288.9 kB / 0.8254 GB, free: 11.76 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.092e-05/0.5483, allocations: 13.22 kB / 0.8254 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.5483, allocations: 3.562 kB / 0.8254 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.775e-05/0.5483, allocations: 6.266 kB / 0.8254 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.022e-05/0.5484, allocations: 15.98 kB / 0.8254 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-05/0.5484, allocations: 13.59 kB / 0.8254 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.231e-05/0.5485, allocations: 101.4 kB / 0.8255 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5485, allocations: 0 / 0.8255 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002284/0.5487, allocations: 44.72 kB / 0.8255 GB, free: 11.65 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: 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.0004496/0.5491, allocations: 0.839 MB / 0.8264 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003246/0.5495, allocations: 330.7 kB / 0.8267 GB, free: 10.69 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.5495, allocations: 0 / 0.8267 GB, free: 10.69 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.913e-05/0.5495, allocations: 55.88 kB / 0.8267 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002276/0.5498, allocations: 24.52 kB / 0.8268 GB, free: 10.67 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001965/0.5517, allocations: 2.298 MB / 0.829 GB, free: 8.75 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.123e-05/0.5518, allocations: 94.69 kB / 0.8291 GB, free: 8.68 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.365e-05/0.5519, allocations: 14.98 kB / 0.8291 GB, free: 8.676 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.043e-05/0.5519, allocations: 38.7 kB / 0.8291 GB, free: 8.648 MB / 0.6198 GB Notification: Performance of SimCode: time 1.032e-06/0.5519, allocations: 0 / 0.8291 GB, free: 8.648 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02032/0.5722, allocations: 4.382 MB / 0.8334 GB, free: 7.543 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.544/7.117, allocations: 5.469 kB / 0.8334 GB, free: 7.539 MB / 0.6198 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: 10.191106430254877] Failed to read output from testmodel.py, exit status != 0: 7.19804805284366 7.210030614 6.664621491 Calling exit ...