Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0007326/0.0007326, allocations: 72.45 kB / 19.9 MB, free: 16 kB / 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.0007588/0.0007588, allocations: 165.9 kB / 23.18 MB, free: 1.379 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.8433/0.8433, allocations: 177.2 MB / 203.6 MB, free: 5.762 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 0.6825/0.6825, allocations: 154.7 MB / 414.7 MB, free: 0.7383 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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: translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change") [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.0008043/0.0008043, allocations: 75.89 kB / 0.6196 GB, free: 13.15 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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.3892/0.39, allocations: 102 MB / 0.7191 GB, free: 23.66 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Change): time 0.001258/0.3912, allocations: 0.7025 MB / 0.7198 GB, free: 23.22 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0008378/0.3921, allocations: 1.181 MB / 0.721 GB, free: 22.37 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.693e-05/0.3921, allocations: 5.25 kB / 0.721 GB, free: 22.37 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.629e-05/0.3921, allocations: 3.938 kB / 0.721 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 5.779e-05/0.3922, allocations: 14.27 kB / 0.721 GB, free: 22.35 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003619/0.3926, allocations: 133.1 kB / 0.7211 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001315/0.3927, allocations: 121.7 kB / 0.7212 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 8.449e-05/0.3928, allocations: 14.47 kB / 0.7212 GB, free: 22.22 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 9.608e-05/0.3929, allocations: 64.02 kB / 0.7213 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 7.484e-05/0.3929, allocations: 45.84 kB / 0.7213 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.943e-05/0.393, allocations: 13.98 kB / 0.7214 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 4.99e-05/0.393, allocations: 22.53 kB / 0.7214 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.977e-05/0.393, allocations: 8.922 kB / 0.7214 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 4.684e-05/0.3931, allocations: 38.7 kB / 0.7214 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.000158/0.3932, allocations: 137 kB / 0.7216 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.3932, allocations: 0 / 0.7216 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.993e-06/0.3932, allocations: 1.094 kB / 0.7216 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.01e-06/0.3933, allocations: 3.938 kB / 0.7216 GB, free: 22.09 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.0003949/0.3936, allocations: 336.6 kB / 0.7219 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.3937, allocations: 13.16 kB / 0.7219 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.852e-05/0.3937, allocations: 10.86 kB / 0.7219 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.105e-05/0.3938, allocations: 116.4 kB / 0.722 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.3938, allocations: 3.688 kB / 0.722 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.924e-05/0.3938, allocations: 12.38 kB / 0.722 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.3939, allocations: 62.75 kB / 0.7221 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.3939, allocations: 192 / 0.7221 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.3939, allocations: 9.75 kB / 0.7221 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.3939, allocations: 1.188 kB / 0.7221 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.737e-05/0.394, allocations: 41.62 kB / 0.7221 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003145/0.3944, allocations: 268.4 kB / 0.7224 GB, free: 21.33 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/0.3945, allocations: 51.77 kB / 0.7224 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.305e-05/0.3945, allocations: 34.8 kB / 0.7225 GB, free: 21.28 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.028e-05/0.3945, allocations: 0.6562 kB / 0.7225 GB, free: 21.28 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001319/0.3947, allocations: 96.14 kB / 0.7226 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 1.213e-06/0.3947, allocations: 0 / 0.7226 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0002745/0.3949, allocations: 141.9 kB / 0.7227 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.22e-05/0.395, allocations: 54.72 kB / 0.7228 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.042e-05/0.395, allocations: 124.6 kB / 0.7229 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.437e-05/0.395, allocations: 32.78 kB / 0.7229 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.944e-05/0.3951, allocations: 90.55 kB / 0.723 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.4e-05/0.3951, allocations: 19.28 kB / 0.723 GB, free: 20.85 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.614e-05/0.3951, allocations: 43.16 kB / 0.7231 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.66e-05/0.3951, allocations: 319.3 kB / 0.7234 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.729e-05/0.3952, allocations: 79 kB / 0.7234 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001056/0.3953, allocations: 120.3 kB / 0.7235 GB, free: 20.37 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000138/0.3955, allocations: 142.1 kB / 0.7237 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3955, allocations: 1.281 kB / 0.7237 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002414/0.3957, allocations: 238.4 kB / 0.7239 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.3957, allocations: 42.69 kB / 0.724 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.3958, allocations: 1.688 kB / 0.724 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.3958, allocations: 2.312 kB / 0.724 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.452e-05/0.3958, allocations: 11.59 kB / 0.724 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.3958, allocations: 9.344 kB / 0.724 GB, free: 20.08 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001104/0.3959, allocations: 39.94 kB / 0.724 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.463e-05/0.396, allocations: 7.156 kB / 0.724 GB, free: 20.07 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 4.964e-05/0.396, allocations: 129.5 kB / 0.7241 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.983e-06/0.396, allocations: 7.266 kB / 0.7242 GB, free: 19.94 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.015e-05/0.396, allocations: 11.41 kB / 0.7242 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.396, allocations: 1.844 kB / 0.7242 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.396, allocations: 7.938 kB / 0.7242 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.396, allocations: 0.5156 kB / 0.7242 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002286/0.3963, allocations: 314.8 kB / 0.7245 GB, free: 19.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.3963, allocations: 1.031 kB / 0.7245 GB, free: 19.66 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.513e-05/0.3963, allocations: 13.28 kB / 0.7245 GB, free: 19.66 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.3963, allocations: 0 / 0.7245 GB, free: 19.66 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.662e-06/0.3963, allocations: 1.281 kB / 0.7245 GB, free: 19.66 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.3963, allocations: 0.7031 kB / 0.7245 GB, free: 19.66 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3963, allocations: 5.312 kB / 0.7245 GB, free: 19.66 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001389/0.3964, allocations: 226 kB / 0.7247 GB, free: 19.48 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.171e-06/0.3965, allocations: 6.234 kB / 0.7247 GB, free: 19.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.188e-05/0.3965, allocations: 2.141 kB / 0.7247 GB, free: 19.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.255e-05/0.3965, allocations: 7.297 kB / 0.7247 GB, free: 19.48 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.547e-05/0.3965, allocations: 9.688 kB / 0.7247 GB, free: 19.48 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.09e-06/0.3965, allocations: 2.953 kB / 0.7247 GB, free: 19.48 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.359e-05/0.3966, allocations: 92.12 kB / 0.7248 GB, free: 19.4 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8e-08/0.3966, allocations: 0 / 0.7248 GB, free: 19.4 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001658/0.3967, allocations: 23.81 kB / 0.7248 GB, free: 19.39 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 8.355e-05/0.3968, allocations: 110.9 kB / 0.725 GB, free: 19.3 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002231/0.397, allocations: 195.1 kB / 0.7251 GB, free: 19.17 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.397, allocations: 0 / 0.7251 GB, free: 19.17 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.327e-05/0.3971, allocations: 33.36 kB / 0.7252 GB, free: 19.16 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001883/0.3973, allocations: 17.31 kB / 0.7252 GB, free: 19.16 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002332/0.3975, allocations: 192.3 kB / 0.7254 GB, free: 18.98 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.503e-05/0.3976, allocations: 78.64 kB / 0.7254 GB, free: 18.91 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.176e-05/0.3976, allocations: 14.03 kB / 0.7255 GB, free: 18.9 MB / 0.6355 GB Notification: Performance of SimCode: time 3.61e-07/0.3976, allocations: 0 / 0.7255 GB, free: 18.9 MB / 0.6355 GB Notification: Performance of Templates: time 0.002036/0.3996, allocations: 1.282 MB / 0.7267 GB, free: 18.8 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.235317731043324] Failed to read output from testmodel.py, exit status != 0: 0.4045033280272037 0.411220372 0.016494419 Calling exit ...