Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.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.001482/0.001482, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001738/0.001738, allocations: 212.4 kB / 22.24 MB, free: 5.262 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.506/1.506, allocations: 230.6 MB / 256 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.06371/0.06371, allocations: 12.19 MB / 324.6 MB, free: 7.074 MB / 254.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0007691/0.0007691, allocations: 33.5 kB / 384.1 MB, free: 47.61 MB / 302.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo): time 2.539/2.539, allocations: 353.9 MB / 0.7787 GB, free: 1.633 MB / 0.5138 GB " [Timeout remaining time 177] Using package AixLib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.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(AixLib.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") translateModel(AixLib.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") [Timeout 660] "Notification: AixLib requested package Modelica_DeviceDrivers of version 2.1.1. Modelica_DeviceDrivers 2.2.0 is used instead which states that it is fully compatible without conversion script needed. Notification: AixLib 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.003611/0.003611, allocations: 130.8 kB / 1.06 GB, free: 12.61 MB / 0.7013 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3179/0.3215, allocations: 134.9 MB / 1.192 GB, free: 5.809 MB / 0.8263 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.00213/0.3236, allocations: 0.5984 MB / 1.193 GB, free: 5.211 MB / 0.8263 GB Notification: Performance of NFInst.instExpressions: time 0.001848/0.3255, allocations: 1.149 MB / 1.194 GB, free: 4.051 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.346e-05/0.3256, allocations: 4 kB / 1.194 GB, free: 4.047 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 0.000101/0.3257, allocations: 3.938 kB / 1.194 GB, free: 4.043 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 3.033e-05/0.3257, allocations: 11.92 kB / 1.194 GB, free: 4.031 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005941/0.3263, allocations: 118.9 kB / 1.194 GB, free: 3.918 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 0.0002017/0.3265, allocations: 91.77 kB / 1.194 GB, free: 3.828 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 8.633e-05/0.3266, allocations: 7.938 kB / 1.194 GB, free: 3.82 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 8.236e-05/0.3267, allocations: 39.95 kB / 1.194 GB, free: 3.781 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000114/0.3268, allocations: 23.91 kB / 1.194 GB, free: 3.758 MB / 0.8263 GB Notification: Performance of NFPackage.collectConstants: time 2.684e-05/0.3268, allocations: 12 kB / 1.194 GB, free: 3.746 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 7.905e-05/0.3269, allocations: 19.98 kB / 1.194 GB, free: 3.727 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 6.343e-05/0.3269, allocations: 11.98 kB / 1.194 GB, free: 3.715 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 6.919e-05/0.327, allocations: 31.91 kB / 1.194 GB, free: 3.684 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 0.0001896/0.3272, allocations: 91.66 kB / 1.194 GB, free: 3.594 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 4.309e-06/0.3272, allocations: 0 / 1.194 GB, free: 3.594 MB / 0.8263 GB Notification: Performance of FrontEnd: time 2.725e-06/0.3272, allocations: 4 kB / 1.194 GB, free: 3.59 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 7.133e-06/0.3272, allocations: 3.938 kB / 1.194 GB, free: 3.586 MB / 0.8263 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.0005581/0.3278, allocations: 303.9 kB / 1.195 GB, free: 3.25 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.3278, allocations: 11.98 kB / 1.195 GB, free: 3.238 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.653e-05/0.3279, allocations: 8.938 kB / 1.195 GB, free: 3.23 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002061/0.3281, allocations: 126.5 kB / 1.195 GB, free: 3.082 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.3281, allocations: 8.375 kB / 1.195 GB, free: 3.074 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.465e-05/0.3281, allocations: 4.375 kB / 1.195 GB, free: 3.07 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001172/0.3282, allocations: 42.25 kB / 1.195 GB, free: 3.023 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.3282, allocations: 192 / 1.195 GB, free: 3.023 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.3283, allocations: 7.938 kB / 1.195 GB, free: 3.016 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.3283, allocations: 0 / 1.195 GB, free: 3.016 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.483e-05/0.3283, allocations: 11.98 kB / 1.195 GB, free: 3.004 MB / 0.8263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003718/0.3287, allocations: 236.5 kB / 1.195 GB, free: 2.742 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 6.438e-05/0.3287, allocations: 22.52 kB / 1.195 GB, free: 2.711 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.716e-05/0.3288, allocations: 8.859 kB / 1.195 GB, free: 2.699 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 8.946e-06/0.3288, allocations: 0 / 1.195 GB, free: 2.699 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002056/0.329, allocations: 63.39 kB / 1.195 GB, free: 2.625 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=3): time 1.894e-06/0.329, allocations: 0 / 1.195 GB, free: 2.625 MB / 0.8263 GB Notification: Performance of matching and sorting (n=3): time 0.0002236/0.3292, allocations: 65.83 kB / 1.195 GB, free: 2.555 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.187e-05/0.3293, allocations: 51.41 kB / 1.195 GB, free: 2.492 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/0.3294, allocations: 109.8 kB / 1.195 GB, free: 2.375 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 2.829e-05/0.3294, allocations: 25.7 kB / 1.195 GB, free: 2.344 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 6.655e-05/0.3295, allocations: 88.09 kB / 1.195 GB, free: 2.254 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 2.345e-05/0.3295, allocations: 19.92 kB / 1.195 GB, free: 2.234 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.816e-05/0.3296, allocations: 33.7 kB / 1.196 GB, free: 2.195 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.0001689/0.3297, allocations: 310.8 kB / 1.196 GB, free: 1.883 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001099/0.3299, allocations: 65.56 kB / 1.196 GB, free: 1.812 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001206/0.33, allocations: 84.48 kB / 1.196 GB, free: 1.715 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001428/0.3301, allocations: 88.27 kB / 1.196 GB, free: 1.613 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.3301, allocations: 0 / 1.196 GB, free: 1.613 MB / 0.8263 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000314/0.3304, allocations: 173 kB / 1.196 GB, free: 1.426 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 5.077e-05/0.3305, allocations: 37.69 kB / 1.196 GB, free: 1.383 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/0.3305, allocations: 8.094 kB / 1.196 GB, free: 1.375 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.3305, allocations: 0 / 1.196 GB, free: 1.375 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.676e-05/0.3305, allocations: 3.938 kB / 1.196 GB, free: 1.371 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.3305, allocations: 0 / 1.196 GB, free: 1.371 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002267/0.3308, allocations: 31.91 kB / 1.196 GB, free: 1.34 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.492e-05/0.3308, allocations: 7.984 kB / 1.196 GB, free: 1.332 MB / 0.8263 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 0.0001266/0.3309, allocations: 117.8 kB / 1.196 GB, free: 1.207 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.633e-05/0.3309, allocations: 11.89 kB / 1.196 GB, free: 1.195 MB / 0.8263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.917e-05/0.331, allocations: 8 kB / 1.196 GB, free: 1.18 MB / 0.8263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.331, allocations: 0 / 1.196 GB, free: 1.18 MB / 0.8263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.331, allocations: 0 / 1.196 GB, free: 1.18 MB / 0.8263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.331, allocations: 0 / 1.196 GB, free: 1.18 MB / 0.8263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001227/0.3311, allocations: 113.2 kB / 1.197 GB, free: 1.039 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.3311, allocations: 0 / 1.197 GB, free: 1.039 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.152e-06/0.3311, allocations: 0 / 1.197 GB, free: 1.039 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.3311, allocations: 3.984 kB / 1.197 GB, free: 1.035 MB / 0.8263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.427e-06/0.3311, allocations: 4 kB / 1.197 GB, free: 1.031 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.3311, allocations: 0 / 1.197 GB, free: 1.031 MB / 0.8263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3311, allocations: 0 / 1.197 GB, free: 1.031 MB / 0.8263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001372/0.3312, allocations: 85 kB / 1.197 GB, free: 0.9297 MB / 0.8263 GB Notification: Performance of postOpt removeConstants (simulation): time 7.635e-06/0.3313, allocations: 4 kB / 1.197 GB, free: 0.9258 MB / 0.8263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.759e-05/0.3313, allocations: 4 kB / 1.197 GB, free: 0.9219 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.511e-05/0.3313, allocations: 0 / 1.197 GB, free: 0.9219 MB / 0.8263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.523e-05/0.3313, allocations: 7.984 kB / 1.197 GB, free: 0.9141 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-06/0.3313, allocations: 0 / 1.197 GB, free: 0.9141 MB / 0.8263 GB Notification: Performance of sorting global known variables: time 5.249e-05/0.3314, allocations: 79.28 kB / 1.197 GB, free: 0.8359 MB / 0.8263 GB Notification: Performance of sort global known variables: time 8e-08/0.3314, allocations: 0 / 1.197 GB, free: 0.8359 MB / 0.8263 GB Notification: Performance of remove unused functions: time 0.0002357/0.3316, allocations: 27.94 kB / 1.197 GB, free: 0.8086 MB / 0.8263 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.0001597/0.3318, allocations: 95.44 kB / 1.197 GB, free: 0.707 MB / 0.8263 GB Notification: Performance of simCode: created initialization part: time 0.0002528/0.332, allocations: 145 kB / 1.197 GB, free: 0.5469 MB / 0.8263 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.332, allocations: 0 / 1.197 GB, free: 0.5469 MB / 0.8263 GB Notification: Performance of simCode: created simulation system equations: time 3.155e-05/0.3321, allocations: 11.98 kB / 1.197 GB, free: 0.5352 MB / 0.8263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002338/0.3323, allocations: 22.16 kB / 1.197 GB, free: 0.5156 MB / 0.8263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00035/0.3326, allocations: 130.1 kB / 1.197 GB, free: 372 kB / 0.8263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.367e-05/0.3327, allocations: 67.34 kB / 1.197 GB, free: 284 kB / 0.8263 GB Notification: Performance of simCode: alias equations: time 1.916e-05/0.3327, allocations: 0 / 1.197 GB, free: 284 kB / 0.8263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.234e-05/0.3328, allocations: 15.62 kB / 1.197 GB, free: 268 kB / 0.8263 GB Notification: Performance of SimCode: time 3.51e-07/0.3328, allocations: 3.938 kB / 1.197 GB, free: 264 kB / 0.8263 GB Notification: Performance of Templates: time 0.004499/0.3373, allocations: 1.158 MB / 1.198 GB, free: 15.13 MB / 0.8419 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & ./AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.535874523222446] Failed to read output from testmodel.py, exit status != 0: 0.3464105688035488 0.362705356 0.032109256 Calling exit ...