Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.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.00164/0.00164, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002142/0.002142, allocations: 215.1 kB / 22.24 MB, free: 4.859 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.594/1.594, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.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.373/1.373, allocations: 203.5 MB / 0.5038 GB, free: 4.918 MB / 414.1 MB " [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.BooleanScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") translateModel(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") [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.003142/0.003142, allocations: 67.89 kB / 0.7183 GB, free: 2.332 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5815/0.5846, allocations: 102 MB / 0.8178 GB, free: 29.11 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.002168/0.5868, allocations: 0.6052 MB / 0.8184 GB, free: 28.77 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001561/0.5883, allocations: 1.141 MB / 0.8196 GB, free: 27.95 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.75e-05/0.5884, allocations: 1.156 kB / 0.8196 GB, free: 27.95 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0001146/0.5885, allocations: 8.641 kB / 0.8196 GB, free: 27.94 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 2.738e-05/0.5885, allocations: 6.281 kB / 0.8196 GB, free: 27.93 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005238/0.589, allocations: 120.4 kB / 0.8197 GB, free: 27.88 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0002053/0.5892, allocations: 87.17 kB / 0.8198 GB, free: 27.84 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 8.914e-05/0.5893, allocations: 7.688 kB / 0.8198 GB, free: 27.84 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 6.345e-05/0.5894, allocations: 35.95 kB / 0.8198 GB, free: 27.82 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000117/0.5895, allocations: 33.38 kB / 0.8198 GB, free: 27.81 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 2.675e-05/0.5895, allocations: 7.906 kB / 0.8198 GB, free: 27.81 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 7.446e-05/0.5896, allocations: 16.02 kB / 0.8199 GB, free: 27.81 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 6.417e-05/0.5897, allocations: 18.67 kB / 0.8199 GB, free: 27.8 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 6.481e-05/0.5897, allocations: 27.41 kB / 0.8199 GB, free: 27.79 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0002027/0.59, allocations: 93.17 kB / 0.82 GB, free: 27.76 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.59, allocations: 0 / 0.82 GB, free: 27.76 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.443e-06/0.59, allocations: 1.281 kB / 0.82 GB, free: 27.76 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.374e-06/0.59, allocations: 0 / 0.82 GB, free: 27.76 MB / 0.6387 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.0004717/0.5904, allocations: 303.4 kB / 0.8203 GB, free: 27.46 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.5905, allocations: 10.78 kB / 0.8203 GB, free: 27.46 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.95e-05/0.5905, allocations: 8.734 kB / 0.8203 GB, free: 27.45 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001913/0.5907, allocations: 124 kB / 0.8204 GB, free: 27.32 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.5908, allocations: 3.516 kB / 0.8204 GB, free: 27.32 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.543e-05/0.5908, allocations: 6.594 kB / 0.8204 GB, free: 27.32 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001197/0.5909, allocations: 44.64 kB / 0.8205 GB, free: 27.29 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.5909, allocations: 0.8438 kB / 0.8205 GB, free: 27.29 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.5909, allocations: 9.5 kB / 0.8205 GB, free: 27.28 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.5909, allocations: 1.281 kB / 0.8205 GB, free: 27.28 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.537e-05/0.591, allocations: 12.66 kB / 0.8205 GB, free: 27.27 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003099/0.5913, allocations: 236.6 kB / 0.8207 GB, free: 27.05 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 5.046e-05/0.5913, allocations: 22.97 kB / 0.8207 GB, free: 27.02 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.886e-05/0.5913, allocations: 15.97 kB / 0.8208 GB, free: 27.01 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 5.09e-06/0.5913, allocations: 6.062 kB / 0.8208 GB, free: 27 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000138/0.5915, allocations: 57.73 kB / 0.8208 GB, free: 26.95 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.5915, allocations: 0.9062 kB / 0.8208 GB, free: 26.95 MB / 0.6387 GB Notification: Performance of matching and sorting (n=3): time 0.0002048/0.5917, allocations: 64.8 kB / 0.8209 GB, free: 26.91 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.051e-05/0.5917, allocations: 53.3 kB / 0.8209 GB, free: 26.85 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.451e-05/0.5918, allocations: 118 kB / 0.821 GB, free: 26.73 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.122e-05/0.5918, allocations: 28.19 kB / 0.8211 GB, free: 26.7 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 4.25e-05/0.5919, allocations: 94.64 kB / 0.8212 GB, free: 26.61 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 1.15e-05/0.5919, allocations: 6.344 kB / 0.8212 GB, free: 26.61 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.478e-05/0.5919, allocations: 30.58 kB / 0.8212 GB, free: 26.59 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 6.297e-05/0.592, allocations: 314.1 kB / 0.8215 GB, free: 26.28 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001036/0.5921, allocations: 58.98 kB / 0.8216 GB, free: 26.23 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.61e-05/0.5922, allocations: 78.06 kB / 0.8216 GB, free: 26.17 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.845e-05/0.5923, allocations: 90.06 kB / 0.8217 GB, free: 26.09 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.5923, allocations: 4 kB / 0.8217 GB, free: 26.09 MB / 0.6387 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002656/0.5926, allocations: 178.9 kB / 0.8219 GB, free: 25.96 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.923e-05/0.5926, allocations: 37.84 kB / 0.8219 GB, free: 25.93 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.5926, allocations: 1.062 kB / 0.8219 GB, free: 25.93 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.5926, allocations: 1.656 kB / 0.8219 GB, free: 25.93 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.911e-05/0.5927, allocations: 5.281 kB / 0.8219 GB, free: 25.93 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.5927, allocations: 1.156 kB / 0.8219 GB, free: 25.93 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002317/0.5929, allocations: 24.11 kB / 0.822 GB, free: 25.93 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.558e-05/0.5929, allocations: 7.344 kB / 0.822 GB, free: 25.93 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * 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 7.443e-05/0.593, allocations: 120.8 kB / 0.8221 GB, free: 25.8 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.09e-05/0.593, allocations: 2.812 kB / 0.8221 GB, free: 25.8 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.277e-05/0.593, allocations: 5.891 kB / 0.8221 GB, free: 25.8 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.593, allocations: 3.438 kB / 0.8221 GB, free: 25.8 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.593, allocations: 1.812 kB / 0.8221 GB, free: 25.8 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.593, allocations: 0 / 0.8221 GB, free: 25.8 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.406e-05/0.5931, allocations: 111.8 kB / 0.8222 GB, free: 25.67 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.5931, allocations: 0.5625 kB / 0.8222 GB, free: 25.67 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.242e-06/0.5931, allocations: 1.125 kB / 0.8222 GB, free: 25.67 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.5931, allocations: 0.7031 kB / 0.8222 GB, free: 25.67 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.5931, allocations: 4.938 kB / 0.8222 GB, free: 25.66 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.5931, allocations: 5.266 kB / 0.8222 GB, free: 25.66 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.5931, allocations: 4.656 kB / 0.8222 GB, free: 25.66 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001027/0.5932, allocations: 85.95 kB / 0.8223 GB, free: 25.58 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 8.536e-06/0.5932, allocations: 2.062 kB / 0.8223 GB, free: 25.58 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/0.5933, allocations: 2.422 kB / 0.8223 GB, free: 25.58 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.486e-05/0.5933, allocations: 0.8125 kB / 0.8223 GB, free: 25.58 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.145e-05/0.5933, allocations: 2.672 kB / 0.8223 GB, free: 25.58 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.202e-06/0.5933, allocations: 10 kB / 0.8223 GB, free: 25.57 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 3.043e-05/0.5933, allocations: 85.56 kB / 0.8224 GB, free: 25.5 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8e-08/0.5933, allocations: 0.75 kB / 0.8224 GB, free: 25.5 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002285/0.5936, allocations: 18.75 kB / 0.8224 GB, free: 25.49 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001373/0.5937, allocations: 100.9 kB / 0.8225 GB, free: 25.41 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0002422/0.5939, allocations: 140.9 kB / 0.8226 GB, free: 25.29 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.5939, allocations: 0.5 kB / 0.8226 GB, free: 25.29 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 3.316e-05/0.594, allocations: 7.625 kB / 0.8227 GB, free: 25.29 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002164/0.5942, allocations: 21.28 kB / 0.8227 GB, free: 25.28 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003021/0.5945, allocations: 130.4 kB / 0.8228 GB, free: 25.16 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.68e-05/0.5946, allocations: 68.58 kB / 0.8229 GB, free: 25.08 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 2.07e-05/0.5946, allocations: 2.812 kB / 0.8229 GB, free: 25.08 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.019e-05/0.5946, allocations: 9.5 kB / 0.8229 GB, free: 25.07 MB / 0.6387 GB Notification: Performance of SimCode: time 3.21e-07/0.5946, allocations: 0 / 0.8229 GB, free: 25.07 MB / 0.6387 GB Notification: Performance of Templates: time 0.004572/0.5992, allocations: 1.163 MB / 0.824 GB, free: 24.94 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.073937870562077] Failed to read output from testmodel.py, exit status != 0: 0.609399888664484 0.62232522 0.029398802 Calling exit ...