Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.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.0009088/0.0009088, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.001071/0.001071, allocations: 208.1 kB / 22.25 MB, free: 3.59 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 0.9613/0.9613, 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.8071/0.8071, allocations: 203.8 MB / 0.5042 GB, free: 10.43 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.Change,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Validation.Change,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Change",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.001262/0.001262, allocations: 70.77 kB / 0.7182 GB, free: 4.031 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5052/0.5064, allocations: 102 MB / 0.8178 GB, free: 1.047 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Change): time 0.001511/0.5079, allocations: 0.7332 MB / 0.8185 GB, free: 0.582 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00114/0.5091, allocations: 1.171 MB / 0.8197 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.655e-05/0.5091, allocations: 0 / 0.8197 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.172e-05/0.5091, allocations: 4.641 kB / 0.8197 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.124e-05/0.5092, allocations: 9.094 kB / 0.8197 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004533/0.5097, allocations: 139.8 kB / 0.8198 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001682/0.5098, allocations: 123.1 kB / 0.8199 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.95e-05/0.5099, allocations: 11.64 kB / 0.8199 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.221e-05/0.51, allocations: 48.7 kB / 0.82 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.045e-05/0.5101, allocations: 38.7 kB / 0.82 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.993e-05/0.5101, allocations: 9.969 kB / 0.82 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.319e-05/0.5102, allocations: 22.59 kB / 0.82 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.822e-05/0.5102, allocations: 21.3 kB / 0.8201 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.785e-05/0.5103, allocations: 38.48 kB / 0.8201 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001837/0.5105, allocations: 115.5 kB / 0.8202 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.5105, allocations: 0 / 0.8202 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.003e-06/0.5105, allocations: 0.7031 kB / 0.8202 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.5105, allocations: 0 / 0.8202 GB, free: 15.48 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004987/0.511, allocations: 337.3 kB / 0.8205 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.511, allocations: 9.234 kB / 0.8205 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.835e-05/0.5111, allocations: 34.06 kB / 0.8206 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.984e-05/0.5111, allocations: 11.23 kB / 0.8206 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.173e-05/0.5112, allocations: 110.5 kB / 0.8207 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/0.5112, allocations: 12.78 kB / 0.8207 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.779e-05/0.5112, allocations: 6.75 kB / 0.8207 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001602/0.5114, allocations: 66.59 kB / 0.8208 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.5114, allocations: 4.453 kB / 0.8208 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.639e-06/0.5114, allocations: 2.625 kB / 0.8208 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.5114, allocations: 0.6094 kB / 0.8208 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000108/0.5115, allocations: 45.33 kB / 0.8208 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004422/0.512, allocations: 287 kB / 0.8211 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001422/0.5121, allocations: 68.53 kB / 0.8212 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.213e-05/0.5122, allocations: 29.14 kB / 0.8212 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.109e-05/0.5122, allocations: 0.75 kB / 0.8212 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002069/0.5124, allocations: 90.17 kB / 0.8213 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.944e-06/0.5124, allocations: 0 / 0.8213 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0002983/0.5127, allocations: 148.3 kB / 0.8214 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.827e-05/0.5127, allocations: 55.11 kB / 0.8215 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.002e-05/0.5128, allocations: 118.7 kB / 0.8216 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.194e-05/0.5128, allocations: 31.23 kB / 0.8216 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.718e-05/0.5129, allocations: 90.73 kB / 0.8217 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.026e-05/0.5129, allocations: 22.56 kB / 0.8217 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.198e-05/0.5129, allocations: 35.36 kB / 0.8218 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.899e-05/0.513, allocations: 321 kB / 0.8221 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001324/0.5132, allocations: 86.59 kB / 0.8221 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001202/0.5133, allocations: 119.2 kB / 0.8223 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001655/0.5135, allocations: 142 kB / 0.8224 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.5135, allocations: 1.438 kB / 0.8224 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002994/0.5138, allocations: 245.7 kB / 0.8226 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.727e-05/0.5138, allocations: 40.05 kB / 0.8227 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.5138, allocations: 1.156 kB / 0.8227 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.5138, allocations: 1.25 kB / 0.8227 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.573e-05/0.5139, allocations: 14.8 kB / 0.8227 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.5139, allocations: 7.391 kB / 0.8227 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001201/0.514, allocations: 37.25 kB / 0.8227 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/0.514, allocations: 12.98 kB / 0.8227 GB, free: 13.39 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,change.y,change.u,$PRE.change.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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 8.244e-05/0.5141, allocations: 123 kB / 0.8229 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.19e-05/0.5141, allocations: 8.234 kB / 0.8229 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.869e-05/0.5141, allocations: 14.41 kB / 0.8229 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.5141, allocations: 1.219 kB / 0.8229 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.5142, allocations: 1.219 kB / 0.8229 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.5142, allocations: 0.9844 kB / 0.8229 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003802/0.5145, allocations: 344.5 kB / 0.8232 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.5145, allocations: 0 / 0.8232 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.136e-05/0.5146, allocations: 9.266 kB / 0.8232 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.5146, allocations: 0 / 0.8232 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.5146, allocations: 1.984 kB / 0.8232 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.5146, allocations: 1.125 kB / 0.8232 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.5146, allocations: 0 / 0.8232 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001857/0.5148, allocations: 219 kB / 0.8234 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.187e-06/0.5148, allocations: 10.8 kB / 0.8234 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.513e-05/0.5148, allocations: 3.5 kB / 0.8234 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.692e-05/0.5148, allocations: 8.141 kB / 0.8235 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.798e-05/0.5149, allocations: 12.73 kB / 0.8235 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.104e-06/0.5149, allocations: 3.781 kB / 0.8235 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.978e-05/0.5149, allocations: 94.56 kB / 0.8236 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5149, allocations: 0 / 0.8236 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001983/0.5151, allocations: 25.44 kB / 0.8236 GB, free: 12.68 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: 7 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0004732/0.5156, allocations: 0.7481 MB / 0.8243 GB, free: 11.99 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002886/0.5159, allocations: 195.6 kB / 0.8245 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.5159, allocations: 1.094 kB / 0.8245 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.724e-05/0.516, allocations: 32.52 kB / 0.8245 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002215/0.5162, allocations: 20.92 kB / 0.8245 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001563/0.5178, allocations: 1.809 MB / 0.8263 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.585e-05/0.5178, allocations: 72.53 kB / 0.8264 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.525e-05/0.5178, allocations: 12.94 kB / 0.8264 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.557e-05/0.5179, allocations: 24.97 kB / 0.8264 GB, free: 10.19 MB / 0.6198 GB Notification: Performance of SimCode: time 5.01e-07/0.5179, allocations: 0 / 0.8264 GB, free: 10.19 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02081/0.5387, allocations: 3.206 MB / 0.8296 GB, free: 9.223 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.688/7.227, allocations: 4.312 kB / 0.8296 GB, free: 9.223 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Change_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Change.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.192628203891218] Failed to read output from testmodel.py, exit status != 0: 7.305558913387358 7.317541411 6.804097872 Calling exit ...