Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0006832/0.0006832, allocations: 96.38 kB / 19.7 MB, free: 448 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.000709/0.000709, allocations: 211.8 kB / 23 MB, free: 2.977 MB / 13.93 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.8313/0.8313, allocations: 230.6 MB / 256.8 MB, free: 9.586 MB / 202.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:190: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:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7173/0.7173, allocations: 203.8 MB / 0.5049 GB, free: 10.43 MB / 410.7 MB " [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: translateModel(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_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.0008381/0.0008381, allocations: 72.09 kB / 0.7194 GB, free: 3.543 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3759/0.3767, allocations: 102 MB / 0.819 GB, free: 1.332 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001222/0.3779, allocations: 0.6192 MB / 0.8196 GB, free: 0.9492 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008305/0.3788, allocations: 1.136 MB / 0.8207 GB, free: 132 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.26e-05/0.3788, allocations: 3.938 kB / 0.8207 GB, free: 128 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 8.703e-05/0.3789, allocations: 3.422 kB / 0.8207 GB, free: 128 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 1.829e-05/0.3789, allocations: 12.64 kB / 0.8207 GB, free: 116 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003546/0.3793, allocations: 122 kB / 0.8209 GB, free: 56 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001136/0.3794, allocations: 83.12 kB / 0.8209 GB, free: 24 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.501e-05/0.3794, allocations: 7.969 kB / 0.8209 GB, free: 20 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.485e-05/0.3795, allocations: 38.2 kB / 0.821 GB, free: 4 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/0.3796, allocations: 27.58 kB / 0.821 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.584e-05/0.3796, allocations: 16.66 kB / 0.821 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.051e-05/0.3797, allocations: 23 kB / 0.821 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.053e-05/0.3797, allocations: 17.45 kB / 0.8211 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.967e-05/0.3798, allocations: 28.88 kB / 0.8211 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001318/0.3799, allocations: 87.56 kB / 0.8212 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.3799, allocations: 0.6875 kB / 0.8212 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3799, allocations: 0 / 0.8212 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.3799, allocations: 2.125 kB / 0.8212 GB, free: 15.93 MB / 0.6198 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.0003531/0.3803, allocations: 301.4 kB / 0.8215 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.168e-05/0.3803, allocations: 11.09 kB / 0.8215 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.107e-05/0.3803, allocations: 9.219 kB / 0.8215 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/0.3805, allocations: 118.1 kB / 0.8216 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.3805, allocations: 7.344 kB / 0.8216 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.45e-05/0.3805, allocations: 10.67 kB / 0.8216 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.493e-05/0.3806, allocations: 48.23 kB / 0.8217 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-06/0.3806, allocations: 192 / 0.8217 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.807e-06/0.3806, allocations: 7.922 kB / 0.8217 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.3806, allocations: 1.281 kB / 0.8217 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.277e-05/0.3806, allocations: 12.09 kB / 0.8217 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000231/0.3808, allocations: 237.8 kB / 0.8219 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.718e-05/0.3809, allocations: 25.58 kB / 0.8219 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.165e-05/0.3809, allocations: 7.594 kB / 0.8219 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.743e-06/0.3809, allocations: 1.25 kB / 0.8219 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.352e-05/0.381, allocations: 70.08 kB / 0.822 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 7.92e-07/0.381, allocations: 0 / 0.822 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0001519/0.3811, allocations: 68.42 kB / 0.8221 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.558e-05/0.3812, allocations: 53.19 kB / 0.8221 GB, free: 15 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.156e-05/0.3812, allocations: 110.2 kB / 0.8222 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.3812, allocations: 29.23 kB / 0.8222 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.378e-05/0.3813, allocations: 88.33 kB / 0.8223 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.275e-06/0.3813, allocations: 8.75 kB / 0.8223 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.034e-05/0.3813, allocations: 32.17 kB / 0.8224 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.959e-05/0.3814, allocations: 312.7 kB / 0.8227 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.491e-05/0.3815, allocations: 64.14 kB / 0.8227 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.327e-05/0.3815, allocations: 76.86 kB / 0.8228 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.772e-05/0.3816, allocations: 87.8 kB / 0.8229 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.3816, allocations: 0 / 0.8229 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001529/0.3817, allocations: 176.7 kB / 0.8231 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.934e-05/0.3818, allocations: 40.78 kB / 0.8231 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.3818, allocations: 0 / 0.8231 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.3818, allocations: 3.141 kB / 0.8231 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.381e-05/0.3818, allocations: 11.75 kB / 0.8231 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.3818, allocations: 0 / 0.8231 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001218/0.3819, allocations: 23.55 kB / 0.8231 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.3819, allocations: 3.406 kB / 0.8231 GB, free: 14.08 MB / 0.6198 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 6.44e-05/0.382, allocations: 122 kB / 0.8233 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.47e-06/0.382, allocations: 4.531 kB / 0.8233 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.657e-05/0.382, allocations: 4.609 kB / 0.8233 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.382, allocations: 0 / 0.8233 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.382, allocations: 3.938 kB / 0.8233 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.382, allocations: 4.656 kB / 0.8233 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.967e-05/0.3821, allocations: 113.4 kB / 0.8234 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.3821, allocations: 0 / 0.8234 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.936e-06/0.3821, allocations: 0.7969 kB / 0.8234 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.92e-07/0.3821, allocations: 0 / 0.8234 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.3821, allocations: 4.719 kB / 0.8234 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.3821, allocations: 0 / 0.8234 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-07/0.3821, allocations: 0 / 0.8234 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.746e-05/0.3822, allocations: 88.45 kB / 0.8235 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.721e-06/0.3822, allocations: 9.531 kB / 0.8235 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.927e-06/0.3822, allocations: 1.672 kB / 0.8235 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.837e-06/0.3822, allocations: 11.28 kB / 0.8235 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.975e-05/0.3822, allocations: 1.078 kB / 0.8235 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.646e-06/0.3822, allocations: 1.172 kB / 0.8235 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.787e-05/0.3823, allocations: 88.16 kB / 0.8236 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4e-08/0.3823, allocations: 0 / 0.8236 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001324/0.3824, allocations: 16.7 kB / 0.8236 GB, free: 13.63 MB / 0.6198 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 8.541e-05/0.3825, allocations: 102.2 kB / 0.8237 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001491/0.3826, allocations: 133.5 kB / 0.8238 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3826, allocations: 4.188 kB / 0.8238 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.087e-05/0.3826, allocations: 15.81 kB / 0.8238 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001381/0.3828, allocations: 10.97 kB / 0.8238 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002289/0.383, allocations: 156.3 kB / 0.824 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.378e-05/0.3831, allocations: 65.56 kB / 0.8241 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.421e-05/0.3831, allocations: 9.031 kB / 0.8241 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of SimCode: time 3.1e-07/0.3831, allocations: 1.375 kB / 0.8241 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of Templates: time 0.001764/0.3848, allocations: 0.929 MB / 0.825 GB, free: 13.1 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.29559466894716] Failed to read output from testmodel.py, exit status != 0: 0.3893824708648026 0.398440928 0.016788501 Calling exit ...