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.0008117/0.0008117, allocations: 84.44 kB / 19.15 MB, free: 0.7734 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.0009655/0.0009655, allocations: 162 kB / 22.43 MB, free: 2.145 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.8778/0.8778, allocations: 177.2 MB / 202.8 MB, free: 5.785 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.6738/0.6738, allocations: 155 MB / 414.2 MB, free: 0.4922 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.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.0009255/0.0009255, allocations: 81.03 kB / 0.6187 GB, free: 13.23 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4369/0.4378, allocations: 102 MB / 0.7183 GB, free: 23.12 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Change): time 0.001387/0.4392, allocations: 0.7183 MB / 0.719 GB, free: 22.67 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001009/0.4402, allocations: 1.174 MB / 0.7201 GB, free: 21.83 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.026e-05/0.4402, allocations: 1.469 kB / 0.7201 GB, free: 21.83 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.745e-05/0.4403, allocations: 4.641 kB / 0.7201 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.075e-05/0.4403, allocations: 14.66 kB / 0.7201 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003713/0.4407, allocations: 135.4 kB / 0.7203 GB, free: 21.74 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001538/0.4409, allocations: 121.4 kB / 0.7204 GB, free: 21.69 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.065e-05/0.4409, allocations: 10.73 kB / 0.7204 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001037/0.441, allocations: 64.22 kB / 0.7204 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 8.048e-05/0.4411, allocations: 41.25 kB / 0.7205 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.092e-05/0.4411, allocations: 11.25 kB / 0.7205 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 5.476e-05/0.4412, allocations: 22.31 kB / 0.7205 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.255e-05/0.4412, allocations: 13.69 kB / 0.7205 GB, free: 21.63 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 5.296e-05/0.4413, allocations: 42.86 kB / 0.7206 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001714/0.4414, allocations: 135.1 kB / 0.7207 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.4415, allocations: 5.812 kB / 0.7207 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.443e-06/0.4415, allocations: 0 / 0.7207 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.581e-06/0.4415, allocations: 0 / 0.7207 GB, free: 21.55 MB / 0.6355 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.0004031/0.4419, allocations: 340.6 kB / 0.721 GB, free: 21.22 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.4419, allocations: 10.53 kB / 0.721 GB, free: 21.22 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.948e-05/0.4419, allocations: 33.56 kB / 0.7211 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.307e-05/0.4419, allocations: 6.844 kB / 0.7211 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.379e-05/0.442, allocations: 115.8 kB / 0.7212 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.442, allocations: 15.86 kB / 0.7212 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.731e-05/0.442, allocations: 8.172 kB / 0.7212 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001214/0.4422, allocations: 66.67 kB / 0.7213 GB, free: 21 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/0.4422, allocations: 3.938 kB / 0.7213 GB, free: 20.99 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-06/0.4422, allocations: 1.734 kB / 0.7213 GB, free: 20.99 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.269e-06/0.4422, allocations: 1.25 kB / 0.7213 GB, free: 20.99 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.984e-05/0.4423, allocations: 46.05 kB / 0.7213 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003355/0.4426, allocations: 281.2 kB / 0.7216 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001199/0.4427, allocations: 67.88 kB / 0.7217 GB, free: 20.67 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.962e-05/0.4428, allocations: 30.67 kB / 0.7217 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.06e-05/0.4428, allocations: 1.094 kB / 0.7217 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001482/0.4429, allocations: 88.81 kB / 0.7218 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.4429, allocations: 0 / 0.7218 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0002742/0.4432, allocations: 153.3 kB / 0.7219 GB, free: 20.53 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.398e-05/0.4432, allocations: 54.36 kB / 0.722 GB, free: 20.47 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.128e-05/0.4433, allocations: 121 kB / 0.7221 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.4433, allocations: 28.33 kB / 0.7221 GB, free: 20.33 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.149e-05/0.4433, allocations: 94.56 kB / 0.7222 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.492e-05/0.4434, allocations: 16.48 kB / 0.7222 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.704e-05/0.4434, allocations: 38.3 kB / 0.7223 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.038e-05/0.4434, allocations: 323.8 kB / 0.7226 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001073/0.4435, allocations: 82.14 kB / 0.7226 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001078/0.4437, allocations: 120.4 kB / 0.7228 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001512/0.4438, allocations: 138.6 kB / 0.7229 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.4438, allocations: 1.219 kB / 0.7229 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002604/0.4441, allocations: 245.8 kB / 0.7231 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.936e-05/0.4441, allocations: 38.78 kB / 0.7232 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.4441, allocations: 1.766 kB / 0.7232 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.4441, allocations: 6.094 kB / 0.7232 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.061e-05/0.4442, allocations: 10.97 kB / 0.7232 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.513e-06/0.4442, allocations: 2.953 kB / 0.7232 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000113/0.4443, allocations: 34.09 kB / 0.7232 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.473e-05/0.4443, allocations: 11.44 kB / 0.7232 GB, free: 19.45 MB / 0.6355 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 5.386e-05/0.4444, allocations: 134.5 kB / 0.7234 GB, free: 19.32 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.815e-06/0.4444, allocations: 10.16 kB / 0.7234 GB, free: 19.32 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.042e-05/0.4444, allocations: 10.97 kB / 0.7234 GB, free: 19.31 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.4444, allocations: 1.938 kB / 0.7234 GB, free: 19.31 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.4444, allocations: 0.5625 kB / 0.7234 GB, free: 19.31 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.4444, allocations: 1.828 kB / 0.7234 GB, free: 19.31 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002524/0.4447, allocations: 339 kB / 0.7237 GB, free: 19.01 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.4447, allocations: 6.125 kB / 0.7237 GB, free: 19.01 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.922e-05/0.4447, allocations: 6.844 kB / 0.7237 GB, free: 19.01 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.4447, allocations: 1.984 kB / 0.7237 GB, free: 19.01 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-06/0.4447, allocations: 1.156 kB / 0.7237 GB, free: 19.01 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.4447, allocations: 1.094 kB / 0.7237 GB, free: 19.01 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4447, allocations: 1.031 kB / 0.7237 GB, free: 19.01 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001524/0.4448, allocations: 219.6 kB / 0.7239 GB, free: 18.84 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.324e-06/0.4449, allocations: 6.141 kB / 0.7239 GB, free: 18.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.4449, allocations: 1.094 kB / 0.7239 GB, free: 18.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.441e-05/0.4449, allocations: 15.45 kB / 0.724 GB, free: 18.83 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.699e-05/0.445, allocations: 16.8 kB / 0.724 GB, free: 18.82 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.211e-06/0.445, allocations: 3.578 kB / 0.724 GB, free: 18.82 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.428e-05/0.445, allocations: 91.31 kB / 0.7241 GB, free: 18.74 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.445, allocations: 0 / 0.7241 GB, free: 18.74 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001709/0.4452, allocations: 24.34 kB / 0.7241 GB, free: 18.74 MB / 0.6355 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.0002739/0.4454, allocations: 0.7472 MB / 0.7248 GB, free: 18.05 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002368/0.4457, allocations: 191.5 kB / 0.725 GB, free: 17.93 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.4457, allocations: 3.938 kB / 0.725 GB, free: 17.92 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.614e-05/0.4457, allocations: 37.19 kB / 0.725 GB, free: 17.91 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001877/0.4459, allocations: 24.98 kB / 0.7251 GB, free: 17.9 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001172/0.4471, allocations: 1.805 MB / 0.7268 GB, free: 16.35 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.04e-05/0.4471, allocations: 71.73 kB / 0.7269 GB, free: 16.28 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.422e-05/0.4472, allocations: 10.36 kB / 0.7269 GB, free: 16.27 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.249e-05/0.4472, allocations: 24.62 kB / 0.7269 GB, free: 16.25 MB / 0.6355 GB Notification: Performance of SimCode: time 4.21e-07/0.4472, allocations: 0 / 0.7269 GB, free: 16.25 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01586/0.463, allocations: 3.344 MB / 0.7302 GB, free: 15.24 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.503/6.966, allocations: 3.812 kB / 0.7302 GB, free: 15.24 MB / 0.6355 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: 9.575203782878816] Failed to read output from testmodel.py, exit status != 0: 7.042517251102254 7.050851762 6.607853157 Calling exit ...