Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.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.001499/0.001499, allocations: 76.92 kB / 19.18 MB, free: 2.531 MB / 14.72 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.002899/0.002899, allocations: 169.4 kB / 22.46 MB, free: 5.355 MB / 14.72 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 1.508/1.508, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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 1.222/1.222, allocations: 154.6 MB / 413.8 MB, free: 5.211 MB / 382.1 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 178] 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.Routing.Validation.BooleanExtractSignal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal") translateModel(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 0.6186 GB, free: 4.574 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.816e-05/3.009e-05, allocations: 8.75 kB / 0.6186 GB, free: 4.566 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.001857/0.001887, allocations: 0.6893 MB / 0.6192 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001907/0.003794, allocations: 1.274 MB / 0.6205 GB, free: 2.605 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.471e-05/0.003849, allocations: 0 / 0.6205 GB, free: 2.605 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001035/0.003952, allocations: 15.8 kB / 0.6205 GB, free: 2.59 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.304e-05/0.004015, allocations: 11.88 kB / 0.6205 GB, free: 2.578 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007689/0.004784, allocations: 249.8 kB / 0.6208 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003611/0.005145, allocations: 251.6 kB / 0.621 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001388/0.005284, allocations: 23.98 kB / 0.621 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002355/0.00552, allocations: 135.8 kB / 0.6211 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001744/0.005694, allocations: 67.83 kB / 0.6212 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.184e-05/0.005746, allocations: 20 kB / 0.6212 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001104/0.005856, allocations: 39.91 kB / 0.6213 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.324e-05/0.00593, allocations: 43.84 kB / 0.6213 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000111/0.006041, allocations: 63.89 kB / 0.6214 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003883/0.006429, allocations: 267.3 kB / 0.6216 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.006432, allocations: 0 / 0.6216 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of FrontEnd: time 8.92e-07/0.006433, allocations: 0 / 0.6216 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.167e-05/0.006445, allocations: 0 / 0.6216 GB, free: 1.445 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0006792/0.007124, allocations: 437 kB / 0.622 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.007159, allocations: 12.03 kB / 0.6221 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003597/0.007518, allocations: 56.81 kB / 0.6221 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005661/0.008084, allocations: 201.6 kB / 0.6223 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.008104, allocations: 12.38 kB / 0.6223 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.817e-05/0.008152, allocations: 20.38 kB / 0.6223 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002256/0.008378, allocations: 129.6 kB / 0.6225 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.008388, allocations: 192 / 0.6225 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.008402, allocations: 4.375 kB / 0.6225 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.008412, allocations: 12.06 kB / 0.6225 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.972e-05/0.008502, allocations: 47.91 kB / 0.6225 GB, free: 456 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006783/0.00918, allocations: 0.575 MB / 0.6231 GB, free: 15.83 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 8.147e-05/0.009261, allocations: 49.16 kB / 0.6231 GB, free: 15.76 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.6e-05/0.009287, allocations: 17.77 kB / 0.6231 GB, free: 15.74 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.519e-06/0.009292, allocations: 0 / 0.6231 GB, free: 15.74 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001929/0.009485, allocations: 96.98 kB / 0.6232 GB, free: 15.62 MB / 0.545 GB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.009486, allocations: 0 / 0.6232 GB, free: 15.62 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.000265/0.009751, allocations: 101.6 kB / 0.6233 GB, free: 15.52 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.918e-05/0.00981, allocations: 89.03 kB / 0.6234 GB, free: 15.41 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001792/0.009989, allocations: 170.6 kB / 0.6236 GB, free: 15.24 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.309e-05/0.01003, allocations: 37.69 kB / 0.6236 GB, free: 15.2 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.01014, allocations: 128 kB / 0.6237 GB, free: 15.07 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.565e-05/0.01016, allocations: 11.91 kB / 0.6238 GB, free: 15.06 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/0.01026, allocations: 53.69 kB / 0.6238 GB, free: 15 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.01041, allocations: 322.8 kB / 0.6241 GB, free: 14.68 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000175/0.01059, allocations: 115.4 kB / 0.6242 GB, free: 14.55 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002399/0.01083, allocations: 227.4 kB / 0.6244 GB, free: 14.27 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002323/0.01106, allocations: 178.2 kB / 0.6246 GB, free: 14.06 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.01106, allocations: 0 / 0.6246 GB, free: 14.06 MB / 0.545 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005133/0.01157, allocations: 332.2 kB / 0.6249 GB, free: 13.71 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.645e-05/0.01164, allocations: 71.39 kB / 0.625 GB, free: 13.62 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.01165, allocations: 0 / 0.625 GB, free: 13.62 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.01166, allocations: 12.25 kB / 0.625 GB, free: 13.61 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.721e-05/0.01168, allocations: 0 / 0.625 GB, free: 13.61 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.01169, allocations: 4.25 kB / 0.625 GB, free: 13.61 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003397/0.01203, allocations: 59.83 kB / 0.6251 GB, free: 13.55 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.528e-05/0.01206, allocations: 19.92 kB / 0.6251 GB, free: 13.53 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 10 (booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition4,booPul1.y,$PRE.booPul1.y,$whenCondition1,$whenCondition2,con.y,con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * 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 0.0001454/0.01221, allocations: 138.8 kB / 0.6252 GB, free: 13.39 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.852e-05/0.01223, allocations: 7.953 kB / 0.6252 GB, free: 13.38 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.994e-05/0.01227, allocations: 16.31 kB / 0.6252 GB, free: 13.36 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.01227, allocations: 11.94 kB / 0.6253 GB, free: 13.34 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.01227, allocations: 0 / 0.6253 GB, free: 13.34 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.01228, allocations: 0 / 0.6253 GB, free: 13.34 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001449/0.01242, allocations: 141.3 kB / 0.6254 GB, free: 13.18 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.01242, allocations: 0 / 0.6254 GB, free: 13.18 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.547e-06/0.01243, allocations: 4 kB / 0.6254 GB, free: 13.17 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.01244, allocations: 0 / 0.6254 GB, free: 13.17 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.01244, allocations: 4 kB / 0.6254 GB, free: 13.17 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.01245, allocations: 4.094 kB / 0.6254 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.01245, allocations: 7.875 kB / 0.6254 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001596/0.01261, allocations: 117.8 kB / 0.6255 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.607e-05/0.01263, allocations: 15.95 kB / 0.6255 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/0.01264, allocations: 0 / 0.6255 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.318e-05/0.01267, allocations: 0 / 0.6255 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.057e-05/0.01271, allocations: 11.92 kB / 0.6255 GB, free: 12.99 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-06/0.01271, allocations: 4 kB / 0.6255 GB, free: 12.99 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001114/0.01283, allocations: 115.2 kB / 0.6257 GB, free: 12.88 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.01283, allocations: 0 / 0.6257 GB, free: 12.88 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002669/0.01309, allocations: 47.88 kB / 0.6257 GB, free: 12.83 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,booPul.y,$whenCondition1,$whenCondition2,booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.0001561/0.01325, allocations: 98.75 kB / 0.6258 GB, free: 12.73 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004037/0.01365, allocations: 282 kB / 0.6261 GB, free: 12.41 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.01365, allocations: 0 / 0.6261 GB, free: 12.41 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.094e-05/0.01369, allocations: 16 kB / 0.6261 GB, free: 12.4 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002422/0.01394, allocations: 21.64 kB / 0.6261 GB, free: 12.38 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004785/0.01442, allocations: 242.8 kB / 0.6263 GB, free: 12.11 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001139/0.01453, allocations: 102.3 kB / 0.6264 GB, free: 11.99 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.89e-05/0.01457, allocations: 12.97 kB / 0.6264 GB, free: 11.98 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.557e-05/0.01459, allocations: 20.44 kB / 0.6265 GB, free: 11.96 MB / 0.545 GB Notification: Performance of SimCode: time 4.01e-07/0.01459, allocations: 0 / 0.6265 GB, free: 11.96 MB / 0.545 GB Notification: Performance of Templates: time 0.005517/0.02011, allocations: 2.071 MB / 0.6285 GB, free: 9.965 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.8740359172225] Failed to read output from testmodel.py, exit status != 0: 0.029112588614225388 0.04371284 0.034113244 Calling exit ...