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.001085/0.001085, allocations: 80.45 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.00122/0.00122, allocations: 162 kB / 22.43 MB, free: 2.137 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.901/0.901, allocations: 177.2 MB / 202.8 MB, free: 5.77 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:686: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:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7389/0.7389, allocations: 154.9 MB / 414.2 MB, free: 500 kB / 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.0009207/0.0009207, allocations: 79.88 kB / 0.6186 GB, free: 13.29 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.4727/0.4736, allocations: 102 MB / 0.7182 GB, free: 23.15 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Change): time 0.001398/0.475, allocations: 0.7209 MB / 0.7189 GB, free: 22.7 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001049/0.476, allocations: 1.172 MB / 0.7201 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.073e-05/0.4761, allocations: 0.9375 kB / 0.7201 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.843e-05/0.4761, allocations: 4.547 kB / 0.7201 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.794e-05/0.4762, allocations: 11.28 kB / 0.7201 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004269/0.4766, allocations: 140 kB / 0.7202 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001476/0.4767, allocations: 125 kB / 0.7203 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.58e-05/0.4768, allocations: 8.234 kB / 0.7203 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001047/0.4769, allocations: 72.25 kB / 0.7204 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 7.933e-05/0.477, allocations: 41.27 kB / 0.7204 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.979e-05/0.477, allocations: 9.625 kB / 0.7205 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 5.734e-05/0.4771, allocations: 19.25 kB / 0.7205 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.256e-05/0.4771, allocations: 17.73 kB / 0.7205 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 4.77e-05/0.4772, allocations: 38.36 kB / 0.7205 GB, free: 21.63 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001809/0.4774, allocations: 135.7 kB / 0.7207 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.4774, allocations: 0 / 0.7207 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.933e-06/0.4774, allocations: 4.531 kB / 0.7207 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.4774, allocations: 0 / 0.7207 GB, free: 21.57 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.0004251/0.4778, allocations: 336.6 kB / 0.721 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.4778, allocations: 11.03 kB / 0.721 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.188e-05/0.4779, allocations: 37.48 kB / 0.721 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.629e-05/0.4779, allocations: 6.594 kB / 0.721 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.805e-05/0.478, allocations: 116.5 kB / 0.7211 GB, free: 21.08 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.478, allocations: 7.562 kB / 0.7211 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.828e-05/0.478, allocations: 12.02 kB / 0.7212 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001362/0.4781, allocations: 63.66 kB / 0.7212 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.4781, allocations: 7.875 kB / 0.7212 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.4781, allocations: 5.281 kB / 0.7212 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.4781, allocations: 0.5156 kB / 0.7212 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001127/0.4783, allocations: 38.44 kB / 0.7213 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003704/0.4786, allocations: 289.1 kB / 0.7215 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001164/0.4787, allocations: 52.55 kB / 0.7216 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.547e-05/0.4788, allocations: 42.12 kB / 0.7216 GB, free: 20.69 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.012e-05/0.4788, allocations: 1.125 kB / 0.7216 GB, free: 20.69 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001501/0.479, allocations: 88.88 kB / 0.7217 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 1.022e-06/0.479, allocations: 0 / 0.7217 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0002783/0.4792, allocations: 140.6 kB / 0.7219 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.626e-05/0.4793, allocations: 62.59 kB / 0.7219 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.455e-05/0.4793, allocations: 117.6 kB / 0.722 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.4793, allocations: 29.83 kB / 0.7221 GB, free: 20.37 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.021e-05/0.4794, allocations: 92.92 kB / 0.7221 GB, free: 20.28 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.428e-05/0.4794, allocations: 20.45 kB / 0.7222 GB, free: 20.26 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.878e-05/0.4794, allocations: 38.02 kB / 0.7222 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.132e-05/0.4795, allocations: 324.1 kB / 0.7225 GB, free: 19.92 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000107/0.4796, allocations: 83.06 kB / 0.7226 GB, free: 19.87 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001044/0.4797, allocations: 115 kB / 0.7227 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001419/0.4798, allocations: 145.9 kB / 0.7228 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.4798, allocations: 1.062 kB / 0.7228 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002594/0.4801, allocations: 242.6 kB / 0.7231 GB, free: 19.54 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.551e-05/0.4801, allocations: 38.2 kB / 0.7231 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.4801, allocations: 2.531 kB / 0.7231 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.065e-05/0.4801, allocations: 1.312 kB / 0.7231 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.557e-05/0.4802, allocations: 15.2 kB / 0.7231 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.4802, allocations: 3.344 kB / 0.7231 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001162/0.4803, allocations: 41.62 kB / 0.7232 GB, free: 19.48 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.618e-05/0.4803, allocations: 8.953 kB / 0.7232 GB, free: 19.48 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.554e-05/0.4804, allocations: 128.9 kB / 0.7233 GB, free: 19.36 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.166e-06/0.4804, allocations: 7.328 kB / 0.7233 GB, free: 19.36 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.003e-05/0.4804, allocations: 10.11 kB / 0.7233 GB, free: 19.35 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.4804, allocations: 1.844 kB / 0.7233 GB, free: 19.35 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.4804, allocations: 1.219 kB / 0.7233 GB, free: 19.35 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.4804, allocations: 0.6562 kB / 0.7233 GB, free: 19.35 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002431/0.4807, allocations: 341 kB / 0.7236 GB, free: 19.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.4807, allocations: 0 / 0.7236 GB, free: 19.05 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.57e-05/0.4807, allocations: 12.73 kB / 0.7237 GB, free: 19.05 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.4807, allocations: 1.031 kB / 0.7237 GB, free: 19.05 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.655e-06/0.4807, allocations: 5.125 kB / 0.7237 GB, free: 19.04 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.4807, allocations: 1.062 kB / 0.7237 GB, free: 19.04 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.4807, allocations: 5.016 kB / 0.7237 GB, free: 19.04 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001423/0.4808, allocations: 213.6 kB / 0.7239 GB, free: 18.88 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.975e-06/0.4808, allocations: 10.56 kB / 0.7239 GB, free: 18.87 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.341e-05/0.4809, allocations: 5.828 kB / 0.7239 GB, free: 18.87 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.237e-05/0.4809, allocations: 10.55 kB / 0.7239 GB, free: 18.86 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.363e-05/0.4809, allocations: 10.88 kB / 0.7239 GB, free: 18.86 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-06/0.4809, allocations: 7.281 kB / 0.7239 GB, free: 18.86 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.571e-05/0.481, allocations: 97.94 kB / 0.724 GB, free: 18.77 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.481, allocations: 0 / 0.724 GB, free: 18.77 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001855/0.4812, allocations: 25.42 kB / 0.724 GB, free: 18.77 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.0002806/0.4814, allocations: 0.7384 MB / 0.7248 GB, free: 18.09 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002334/0.4817, allocations: 200.8 kB / 0.7249 GB, free: 17.96 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.4817, allocations: 0 / 0.7249 GB, free: 17.96 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.502e-05/0.4817, allocations: 32.39 kB / 0.725 GB, free: 17.95 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001914/0.4819, allocations: 17.45 kB / 0.725 GB, free: 17.95 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001161/0.4831, allocations: 1.816 MB / 0.7268 GB, free: 16.38 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.193e-05/0.4831, allocations: 71.61 kB / 0.7268 GB, free: 16.31 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.851e-05/0.4832, allocations: 9.391 kB / 0.7268 GB, free: 16.3 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.463e-05/0.4832, allocations: 21.83 kB / 0.7269 GB, free: 16.29 MB / 0.6355 GB Notification: Performance of SimCode: time 6.82e-07/0.4832, allocations: 4 kB / 0.7269 GB, free: 16.29 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01488/0.4981, allocations: 3.334 MB / 0.7301 GB, free: 15.29 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.838/7.336, allocations: 10.45 kB / 0.7301 GB, free: 15.29 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 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.24043109791819] Failed to read output from testmodel.py, exit status != 0: 7.417462173034437 7.431603535 6.951609139 Calling exit ...