Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.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.0007737/0.0007737, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 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.0008083/0.0008083, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8461/0.8461, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.6861/0.6861, allocations: 154.6 MB / 414.5 MB, free: 0.8047 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.Nor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Nor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.394e-06/2.394e-06, allocations: 0 / 0.6193 GB, free: 13.13 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.599e-05/2.838e-05, allocations: 5.234 kB / 0.6194 GB, free: 13.13 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Nor): time 0.00126/0.001288, allocations: 0.6246 MB / 0.62 GB, free: 12.5 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001193/0.002481, allocations: 1.221 MB / 0.6212 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.596e-05/0.002527, allocations: 4 kB / 0.6212 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.79e-05/0.002555, allocations: 3.938 kB / 0.6212 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.666e-05/0.002622, allocations: 19.84 kB / 0.6212 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005332/0.003155, allocations: 205 kB / 0.6214 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001892/0.003344, allocations: 179.7 kB / 0.6215 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.96e-05/0.003434, allocations: 7.984 kB / 0.6216 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001023/0.003536, allocations: 95.81 kB / 0.6216 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 9.766e-05/0.003634, allocations: 47.91 kB / 0.6217 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.757e-05/0.003661, allocations: 16 kB / 0.6217 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 6.497e-05/0.003726, allocations: 35.91 kB / 0.6217 GB, free: 10.67 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.056e-05/0.003747, allocations: 8 kB / 0.6217 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 6.339e-05/0.00381, allocations: 47.94 kB / 0.6218 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000212/0.004022, allocations: 187.5 kB / 0.622 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.235e-06/0.004024, allocations: 0 / 0.622 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.142e-06/0.004026, allocations: 0 / 0.622 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.558e-06/0.00403, allocations: 4 kB / 0.622 GB, free: 10.43 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004178/0.004448, allocations: 353.6 kB / 0.6223 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.004484, allocations: 12.03 kB / 0.6223 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.968e-05/0.004533, allocations: 8.891 kB / 0.6223 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.602e-05/0.004609, allocations: 109.7 kB / 0.6224 GB, free: 9.887 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.004624, allocations: 8.375 kB / 0.6224 GB, free: 9.879 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.299e-05/0.004647, allocations: 20.34 kB / 0.6225 GB, free: 9.859 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.552e-05/0.004743, allocations: 46.19 kB / 0.6225 GB, free: 9.809 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.004751, allocations: 192 / 0.6225 GB, free: 9.809 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.00476, allocations: 384 / 0.6225 GB, free: 9.809 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.004765, allocations: 4.375 kB / 0.6225 GB, free: 9.805 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.497e-05/0.0048, allocations: 23.92 kB / 0.6225 GB, free: 9.781 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003689/0.005169, allocations: 268.5 kB / 0.6228 GB, free: 9.488 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.691e-05/0.005245, allocations: 38.45 kB / 0.6228 GB, free: 9.441 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.103e-05/0.005266, allocations: 12.94 kB / 0.6228 GB, free: 9.426 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 9.939e-06/0.005276, allocations: 0 / 0.6228 GB, free: 9.426 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001391/0.005416, allocations: 87.3 kB / 0.6229 GB, free: 9.328 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.005417, allocations: 0 / 0.6229 GB, free: 9.328 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0002083/0.005625, allocations: 109.6 kB / 0.623 GB, free: 9.215 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.201e-05/0.005657, allocations: 51.41 kB / 0.6231 GB, free: 9.152 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.987e-05/0.005727, allocations: 121.8 kB / 0.6232 GB, free: 9.023 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.255e-05/0.005749, allocations: 29.7 kB / 0.6232 GB, free: 8.988 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.566e-05/0.005795, allocations: 96.09 kB / 0.6233 GB, free: 8.891 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.559e-05/0.005811, allocations: 19.83 kB / 0.6233 GB, free: 8.871 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.122e-05/0.005872, allocations: 49.69 kB / 0.6234 GB, free: 8.816 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.404e-05/0.005946, allocations: 319.2 kB / 0.6237 GB, free: 8.496 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001173/0.006063, allocations: 119.4 kB / 0.6238 GB, free: 8.367 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001214/0.006184, allocations: 163.6 kB / 0.624 GB, free: 8.18 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001274/0.006312, allocations: 159.6 kB / 0.6241 GB, free: 7.996 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.006314, allocations: 0 / 0.6241 GB, free: 7.996 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002946/0.006609, allocations: 328.2 kB / 0.6244 GB, free: 7.645 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 4.065e-05/0.006649, allocations: 71.33 kB / 0.6245 GB, free: 7.562 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.006655, allocations: 4 kB / 0.6245 GB, free: 7.559 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.006667, allocations: 4 kB / 0.6245 GB, free: 7.555 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.659e-05/0.006684, allocations: 0 / 0.6245 GB, free: 7.555 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.00669, allocations: 4 kB / 0.6245 GB, free: 7.551 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002035/0.006893, allocations: 60.05 kB / 0.6246 GB, free: 7.492 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.772e-05/0.006911, allocations: 8 kB / 0.6246 GB, free: 7.484 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,nor1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * 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 7.706e-05/0.006988, allocations: 122.8 kB / 0.6247 GB, free: 7.355 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.248e-05/0.007001, allocations: 11.89 kB / 0.6247 GB, free: 7.344 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.209e-05/0.007023, allocations: 8.438 kB / 0.6247 GB, free: 7.332 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.007026, allocations: 4 kB / 0.6247 GB, free: 7.328 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.007031, allocations: 3.938 kB / 0.6247 GB, free: 7.324 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.007033, allocations: 4 kB / 0.6247 GB, free: 7.32 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.505e-05/0.007108, allocations: 113.3 kB / 0.6248 GB, free: 7.18 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.00711, allocations: 0 / 0.6248 GB, free: 7.18 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.873e-06/0.007117, allocations: 7.984 kB / 0.6248 GB, free: 7.172 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.00712, allocations: 3.938 kB / 0.6248 GB, free: 7.168 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.007126, allocations: 3.938 kB / 0.6248 GB, free: 7.164 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.007127, allocations: 0 / 0.6248 GB, free: 7.164 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.007128, allocations: 0 / 0.6248 GB, free: 7.164 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001009/0.007229, allocations: 117.1 kB / 0.6249 GB, free: 7.031 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.631e-06/0.007235, allocations: 0 / 0.6249 GB, free: 7.031 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.217e-05/0.007247, allocations: 7.938 kB / 0.625 GB, free: 7.023 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.296e-05/0.00726, allocations: 4.094 kB / 0.625 GB, free: 7.02 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.106e-05/0.007291, allocations: 11.92 kB / 0.625 GB, free: 7.008 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.551e-06/0.007296, allocations: 4 kB / 0.625 GB, free: 7.004 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.493e-05/0.007331, allocations: 95.2 kB / 0.6251 GB, free: 6.91 MB / 0.5886 GB Notification: Performance of sort global known variables: time 8e-08/0.007331, allocations: 0 / 0.6251 GB, free: 6.91 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000165/0.007496, allocations: 35.89 kB / 0.6251 GB, free: 6.875 MB / 0.5886 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 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,nor1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.0001166/0.007613, allocations: 103.2 kB / 0.6252 GB, free: 6.766 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002509/0.007864, allocations: 274.3 kB / 0.6255 GB, free: 6.461 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.007865, allocations: 4.062 kB / 0.6255 GB, free: 6.457 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.586e-05/0.007901, allocations: 23.98 kB / 0.6255 GB, free: 6.434 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001724/0.008074, allocations: 19.59 kB / 0.6255 GB, free: 6.418 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002704/0.008344, allocations: 191.5 kB / 0.6257 GB, free: 6.195 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.175e-05/0.008386, allocations: 71.33 kB / 0.6258 GB, free: 6.105 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.673e-05/0.008403, allocations: 12.5 kB / 0.6258 GB, free: 6.094 MB / 0.5886 GB Notification: Performance of SimCode: time 3.71e-07/0.008403, allocations: 4 kB / 0.6258 GB, free: 6.09 MB / 0.5886 GB Notification: Performance of Templates: time 0.002111/0.01051, allocations: 1.397 MB / 0.6271 GB, free: 4.715 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.802199641242623] Failed to read output from testmodel.py, exit status != 0: 0.015717217698693275 0.023464182 0.017769346000000002 Calling exit ...