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.001056/0.001056, allocations: 79.69 kB / 20.03 MB, free: 4.492 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.001217/0.001217, allocations: 165.3 kB / 23.33 MB, free: 1.191 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.9044/0.9044, allocations: 177.1 MB / 203.6 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.03422/0.03422, allocations: 9.131 MB / 269.2 MB, free: 4.449 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.0004525/0.0004525, allocations: 23.95 kB / 328.7 MB, free: 5.777 MB / 298.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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 1.555/1.555, allocations: 274.9 MB / 0.6476 GB, free: 2.824 MB / 0.4949 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 178] 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: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 0.9295 GB, free: 20.93 MB / 0.7293 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.729e-05/1.932e-05, allocations: 2.281 kB / 0.9295 GB, free: 20.93 MB / 0.7293 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001112/0.001132, allocations: 0.6087 MB / 0.9301 GB, free: 20.55 MB / 0.7293 GB Notification: Performance of NFInst.instExpressions: time 0.001073/0.002204, allocations: 1.148 MB / 0.9312 GB, free: 19.73 MB / 0.7293 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.801e-05/0.002252, allocations: 1.5 kB / 0.9312 GB, free: 19.73 MB / 0.7293 GB Notification: Performance of NFTyping.typeComponents: time 9.109e-05/0.002343, allocations: 1.078 kB / 0.9312 GB, free: 19.73 MB / 0.7293 GB Notification: Performance of NFTyping.typeBindings: time 2.026e-05/0.002364, allocations: 9.906 kB / 0.9312 GB, free: 19.72 MB / 0.7293 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003499/0.002714, allocations: 122.5 kB / 0.9313 GB, free: 19.66 MB / 0.7293 GB Notification: Performance of NFFlatten.flatten: time 0.0001289/0.002843, allocations: 94.67 kB / 0.9314 GB, free: 19.61 MB / 0.7293 GB Notification: Performance of NFFlatten.resolveConnections: time 7.634e-05/0.002919, allocations: 7.438 kB / 0.9314 GB, free: 19.61 MB / 0.7293 GB Notification: Performance of NFEvalConstants.evaluate: time 6.748e-05/0.002986, allocations: 48.36 kB / 0.9315 GB, free: 19.59 MB / 0.7293 GB Notification: Performance of NFSimplifyModel.simplify: time 9.101e-05/0.003077, allocations: 27.38 kB / 0.9315 GB, free: 19.58 MB / 0.7293 GB Notification: Performance of NFPackage.collectConstants: time 2.069e-05/0.003098, allocations: 7.75 kB / 0.9315 GB, free: 19.58 MB / 0.7293 GB Notification: Performance of NFFlatten.collectFunctions: time 5.235e-05/0.00315, allocations: 20.72 kB / 0.9315 GB, free: 19.58 MB / 0.7293 GB Notification: Performance of NFScalarize.scalarize: time 5.15e-05/0.003202, allocations: 10.39 kB / 0.9315 GB, free: 19.57 MB / 0.7293 GB Notification: Performance of NFVerifyModel.verify: time 4.729e-05/0.003249, allocations: 27.31 kB / 0.9315 GB, free: 19.56 MB / 0.7293 GB Notification: Performance of NFConvertDAE.convert: time 0.000145/0.003394, allocations: 105.1 kB / 0.9316 GB, free: 19.52 MB / 0.7293 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.003397, allocations: 5.344 kB / 0.9316 GB, free: 19.52 MB / 0.7293 GB Notification: Performance of FrontEnd: time 7.61e-07/0.003398, allocations: 0 / 0.9316 GB, free: 19.52 MB / 0.7293 GB Notification: Performance of Transformations before backend: time 3.566e-06/0.003402, allocations: 0 / 0.9316 GB, free: 19.52 MB / 0.7293 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.0003167/0.003718, allocations: 306.9 kB / 0.9319 GB, free: 19.21 MB / 0.7293 GB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.003753, allocations: 11.83 kB / 0.9319 GB, free: 19.21 MB / 0.7293 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.386e-05/0.003797, allocations: 13.67 kB / 0.932 GB, free: 19.2 MB / 0.7293 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.00392, allocations: 126.5 kB / 0.9321 GB, free: 19.06 MB / 0.7293 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-06/0.00393, allocations: 4.406 kB / 0.9321 GB, free: 19.06 MB / 0.7293 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.861e-05/0.003949, allocations: 5.406 kB / 0.9321 GB, free: 19.06 MB / 0.7293 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.102e-05/0.00404, allocations: 48.25 kB / 0.9321 GB, free: 19.02 MB / 0.7293 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.343e-06/0.004047, allocations: 192 / 0.9321 GB, free: 19.02 MB / 0.7293 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.816e-06/0.004056, allocations: 384 / 0.9321 GB, free: 19.02 MB / 0.7293 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.00406, allocations: 1.625 kB / 0.9321 GB, free: 19.02 MB / 0.7293 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.623e-05/0.004087, allocations: 15.91 kB / 0.9322 GB, free: 19.02 MB / 0.7293 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002294/0.004316, allocations: 237.8 kB / 0.9324 GB, free: 18.79 MB / 0.7293 GB Notification: Performance of preOpt comSubExp (simulation): time 3.346e-05/0.004349, allocations: 18.19 kB / 0.9324 GB, free: 18.77 MB / 0.7293 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.267e-05/0.004362, allocations: 12.09 kB / 0.9324 GB, free: 18.76 MB / 0.7293 GB Notification: Performance of preOpt evalFunc (simulation): time 7.765e-06/0.00437, allocations: 1.562 kB / 0.9324 GB, free: 18.76 MB / 0.7293 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.55e-05/0.004455, allocations: 64.16 kB / 0.9325 GB, free: 18.7 MB / 0.7293 GB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.004456, allocations: 0 / 0.9325 GB, free: 18.7 MB / 0.7293 GB Notification: Performance of matching and sorting (n=3): time 0.0001533/0.00461, allocations: 68.7 kB / 0.9325 GB, free: 18.65 MB / 0.7293 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.588e-05/0.004625, allocations: 53.36 kB / 0.9326 GB, free: 18.59 MB / 0.7293 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.196e-05/0.004677, allocations: 114.8 kB / 0.9327 GB, free: 18.48 MB / 0.7293 GB Notification: Performance of collectPreVariables (initialization): time 1.34e-05/0.004691, allocations: 30.89 kB / 0.9327 GB, free: 18.45 MB / 0.7293 GB Notification: Performance of collectInitialEqns (initialization): time 3.342e-05/0.004724, allocations: 89.59 kB / 0.9328 GB, free: 18.36 MB / 0.7293 GB Notification: Performance of collectInitialBindings (initialization): time 8.596e-06/0.004733, allocations: 5.875 kB / 0.9328 GB, free: 18.36 MB / 0.7293 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.552e-05/0.004778, allocations: 30.5 kB / 0.9328 GB, free: 18.34 MB / 0.7293 GB Notification: Performance of setup shared object (initialization): time 2.997e-05/0.004808, allocations: 317.7 kB / 0.9332 GB, free: 18.02 MB / 0.7293 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.082e-05/0.004869, allocations: 56.61 kB / 0.9332 GB, free: 17.98 MB / 0.7293 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.283e-05/0.004932, allocations: 80.97 kB / 0.9333 GB, free: 17.91 MB / 0.7293 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.919e-05/0.005001, allocations: 79.94 kB / 0.9334 GB, free: 17.84 MB / 0.7293 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.005004, allocations: 0.7969 kB / 0.9334 GB, free: 17.84 MB / 0.7293 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001683/0.005172, allocations: 188.1 kB / 0.9335 GB, free: 17.7 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 2.607e-05/0.005198, allocations: 34.06 kB / 0.9336 GB, free: 17.67 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.738e-06/0.005203, allocations: 1.688 kB / 0.9336 GB, free: 17.67 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.005216, allocations: 1.844 kB / 0.9336 GB, free: 17.67 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.476e-05/0.005231, allocations: 1.766 kB / 0.9336 GB, free: 17.67 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.005239, allocations: 1.562 kB / 0.9336 GB, free: 17.67 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001355/0.005375, allocations: 28.08 kB / 0.9336 GB, free: 17.67 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.471e-05/0.005389, allocations: 6.25 kB / 0.9336 GB, free: 17.67 MB / 0.7293 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 4.911e-05/0.005439, allocations: 124.7 kB / 0.9337 GB, free: 17.54 MB / 0.7293 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.214e-06/0.005446, allocations: 9.953 kB / 0.9337 GB, free: 17.54 MB / 0.7293 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.752e-05/0.005463, allocations: 10.17 kB / 0.9337 GB, free: 17.53 MB / 0.7293 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.005467, allocations: 0 / 0.9337 GB, free: 17.53 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.005467, allocations: 1.953 kB / 0.9338 GB, free: 17.53 MB / 0.7293 GB Notification: Performance of postOpt removeConstants (simulation): time 5.3e-06/0.005473, allocations: 1.531 kB / 0.9338 GB, free: 17.53 MB / 0.7293 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.071e-05/0.005483, allocations: 1.859 kB / 0.9338 GB, free: 17.53 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.174e-06/0.005491, allocations: 4.547 kB / 0.9338 GB, free: 17.52 MB / 0.7293 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.903e-05/0.00552, allocations: 2.656 kB / 0.9338 GB, free: 17.52 MB / 0.7293 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 5.893e-05/0.005579, allocations: 124 kB / 0.9339 GB, free: 17.41 MB / 0.7293 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 6.34e-05/0.005642, allocations: 238.5 kB / 0.9341 GB, free: 17.19 MB / 0.7293 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.531e-05/0.005667, allocations: 9.875 kB / 0.9341 GB, free: 17.18 MB / 0.7293 GB Notification: Performance of sorting global known variables: time 1.9e-05/0.005686, allocations: 81.84 kB / 0.9342 GB, free: 17.11 MB / 0.7293 GB Notification: Performance of Backend: time 3e-07/0.005687, allocations: 0 / 0.9342 GB, free: 17.11 MB / 0.7293 GB Notification: Performance of simCode: created initialization part: time 0.0003359/0.006023, allocations: 214.9 kB / 0.9344 GB, free: 16.93 MB / 0.7293 GB Notification: Performance of SimCode: time 0.000327/0.00635, allocations: 0.5874 MB / 0.935 GB, free: 16.32 MB / 0.7293 GB Notification: Performance of Templates: time 0.002767/0.009117, allocations: 1.171 MB / 0.9361 GB, free: 16.2 MB / 0.7293 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: 4.8173945331946015] Failed to read output from testmodel.py, exit status != 0: 0.013386180624365807 0.021250520000000002 0.015995832 Calling exit ...