Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.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.0007852/0.0007852, 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.0007822/0.0007822, 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.8467/0.8467, allocations: 177.1 MB / 203.6 MB, free: 5.73 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.03383/0.03383, allocations: 9.126 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.0003783/0.0003783, allocations: 27.94 kB / 328.7 MB, free: 5.785 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.499/1.499, allocations: 275 MB / 0.6476 GB, free: 2.836 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.IntegerScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") translateModel(AixLib.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 3.938 kB / 0.9295 GB, free: 20.84 MB / 0.7293 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.384e-05/2.567e-05, allocations: 2.281 kB / 0.9295 GB, free: 20.83 MB / 0.7293 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001657/0.001683, allocations: 0.6528 MB / 0.9301 GB, free: 20.43 MB / 0.7293 GB Notification: Performance of NFInst.instExpressions: time 0.001018/0.002701, allocations: 0.8552 MB / 0.9309 GB, free: 19.79 MB / 0.7293 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.199e-05/0.002753, allocations: 3.938 kB / 0.9309 GB, free: 19.79 MB / 0.7293 GB Notification: Performance of NFTyping.typeComponents: time 0.0001021/0.002855, allocations: 0.6562 kB / 0.9309 GB, free: 19.79 MB / 0.7293 GB Notification: Performance of NFTyping.typeBindings: time 2.336e-05/0.002878, allocations: 5.031 kB / 0.9309 GB, free: 19.78 MB / 0.7293 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001786/0.003057, allocations: 17.55 kB / 0.931 GB, free: 19.77 MB / 0.7293 GB Notification: Performance of NFFlatten.flatten: time 8.047e-05/0.003137, allocations: 37.66 kB / 0.931 GB, free: 19.75 MB / 0.7293 GB Notification: Performance of NFFlatten.resolveConnections: time 8.54e-05/0.003223, allocations: 8.203 kB / 0.931 GB, free: 19.75 MB / 0.7293 GB Notification: Performance of NFEvalConstants.evaluate: time 6.441e-05/0.003287, allocations: 22.77 kB / 0.931 GB, free: 19.74 MB / 0.7293 GB Notification: Performance of NFSimplifyModel.simplify: time 5.401e-05/0.003341, allocations: 13.55 kB / 0.931 GB, free: 19.73 MB / 0.7293 GB Notification: Performance of NFPackage.collectConstants: time 1.79e-05/0.003359, allocations: 2.906 kB / 0.931 GB, free: 19.73 MB / 0.7293 GB Notification: Performance of NFFlatten.collectFunctions: time 9.448e-06/0.003368, allocations: 2.812 kB / 0.931 GB, free: 19.73 MB / 0.7293 GB Notification: Performance of NFScalarize.scalarize: time 5.181e-05/0.00342, allocations: 18.22 kB / 0.9311 GB, free: 19.72 MB / 0.7293 GB Notification: Performance of NFVerifyModel.verify: time 2.724e-05/0.003447, allocations: 4.266 kB / 0.9311 GB, free: 19.72 MB / 0.7293 GB Notification: Performance of NFConvertDAE.convert: time 9.22e-05/0.00354, allocations: 48.08 kB / 0.9311 GB, free: 19.7 MB / 0.7293 GB Notification: Performance of FrontEnd - DAE generated: time 1.893e-06/0.003541, allocations: 0 / 0.9311 GB, free: 19.7 MB / 0.7293 GB Notification: Performance of FrontEnd: time 1.042e-06/0.003543, allocations: 0 / 0.9311 GB, free: 19.7 MB / 0.7293 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.003546, allocations: 5.469 kB / 0.9311 GB, free: 19.7 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003391/0.003885, allocations: 273 kB / 0.9314 GB, free: 19.42 MB / 0.7293 GB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.003923, allocations: 13.27 kB / 0.9314 GB, free: 19.42 MB / 0.7293 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.636e-05/0.003949, allocations: 14.83 kB / 0.9314 GB, free: 19.41 MB / 0.7293 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.932e-05/0.004049, allocations: 110.3 kB / 0.9315 GB, free: 19.28 MB / 0.7293 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.004068, allocations: 1.75 kB / 0.9315 GB, free: 19.28 MB / 0.7293 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.309e-05/0.004081, allocations: 7.031 kB / 0.9315 GB, free: 19.28 MB / 0.7293 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001353/0.004216, allocations: 61.94 kB / 0.9316 GB, free: 19.24 MB / 0.7293 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.004223, allocations: 1.344 kB / 0.9316 GB, free: 19.24 MB / 0.7293 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.004232, allocations: 4.375 kB / 0.9316 GB, free: 19.23 MB / 0.7293 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.004236, allocations: 1.719 kB / 0.9316 GB, free: 19.23 MB / 0.7293 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001037/0.00434, allocations: 47.33 kB / 0.9316 GB, free: 19.22 MB / 0.7293 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002285/0.004569, allocations: 214.2 kB / 0.9318 GB, free: 19.01 MB / 0.7293 GB Notification: Performance of preOpt comSubExp (simulation): time 8.121e-05/0.00465, allocations: 46.14 kB / 0.9319 GB, free: 18.98 MB / 0.7293 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.211e-05/0.004702, allocations: 21.09 kB / 0.9319 GB, free: 18.97 MB / 0.7293 GB Notification: Performance of preOpt evalFunc (simulation): time 1.573e-05/0.004718, allocations: 9.375 kB / 0.9319 GB, free: 18.96 MB / 0.7293 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.488e-05/0.004733, allocations: 36.59 kB / 0.9319 GB, free: 18.92 MB / 0.7293 GB Notification: Performance of pre-optimization done (n=2): time 1.422e-06/0.004734, allocations: 0 / 0.9319 GB, free: 18.92 MB / 0.7293 GB Notification: Performance of matching and sorting (n=2): time 0.0002296/0.004964, allocations: 84.03 kB / 0.932 GB, free: 18.88 MB / 0.7293 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.358e-05/0.004977, allocations: 54 kB / 0.9321 GB, free: 18.82 MB / 0.7293 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.885e-05/0.005026, allocations: 102.3 kB / 0.9322 GB, free: 18.71 MB / 0.7293 GB Notification: Performance of collectPreVariables (initialization): time 5.62e-06/0.005032, allocations: 25.7 kB / 0.9322 GB, free: 18.68 MB / 0.7293 GB Notification: Performance of collectInitialEqns (initialization): time 2.389e-05/0.005055, allocations: 96.16 kB / 0.9323 GB, free: 18.59 MB / 0.7293 GB Notification: Performance of collectInitialBindings (initialization): time 1.271e-05/0.005068, allocations: 8.953 kB / 0.9323 GB, free: 18.58 MB / 0.7293 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.289e-05/0.005091, allocations: 19.98 kB / 0.9323 GB, free: 18.56 MB / 0.7293 GB Notification: Performance of setup shared object (initialization): time 2.612e-05/0.005117, allocations: 313.3 kB / 0.9326 GB, free: 18.25 MB / 0.7293 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.875e-05/0.005166, allocations: 18.77 kB / 0.9326 GB, free: 18.25 MB / 0.7293 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.31e-05/0.005209, allocations: 20.94 kB / 0.9327 GB, free: 18.24 MB / 0.7293 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.177e-05/0.005301, allocations: 43.95 kB / 0.9327 GB, free: 18.23 MB / 0.7293 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.005302, allocations: 0 / 0.9327 GB, free: 18.23 MB / 0.7293 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001122/0.005415, allocations: 74.45 kB / 0.9328 GB, free: 18.18 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.005426, allocations: 6.109 kB / 0.9328 GB, free: 18.18 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.005431, allocations: 0 / 0.9328 GB, free: 18.18 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.005442, allocations: 0 / 0.9328 GB, free: 18.18 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.734e-05/0.005509, allocations: 9.875 kB / 0.9328 GB, free: 18.18 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.005518, allocations: 5.953 kB / 0.9328 GB, free: 18.18 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.559e-05/0.005543, allocations: 9.141 kB / 0.9328 GB, free: 18.18 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-06/0.005548, allocations: 2.422 kB / 0.9328 GB, free: 18.18 MB / 0.7293 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (intRep.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 5.312e-05/0.005601, allocations: 113.8 kB / 0.9329 GB, free: 18.06 MB / 0.7293 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.557e-05/0.005617, allocations: 5.891 kB / 0.9329 GB, free: 18.05 MB / 0.7293 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.638e-05/0.005633, allocations: 8.562 kB / 0.9329 GB, free: 18.05 MB / 0.7293 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.604e-06/0.005636, allocations: 0.5156 kB / 0.9329 GB, free: 18.05 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.005637, allocations: 256 / 0.9329 GB, free: 18.05 MB / 0.7293 GB Notification: Performance of postOpt removeConstants (simulation): time 6.141e-06/0.005643, allocations: 6.953 kB / 0.9329 GB, free: 18.05 MB / 0.7293 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.358e-06/0.005652, allocations: 4.797 kB / 0.9329 GB, free: 18.04 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.202e-05/0.005694, allocations: 10.28 kB / 0.9329 GB, free: 18.04 MB / 0.7293 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.404e-05/0.005738, allocations: 17.47 kB / 0.933 GB, free: 18.03 MB / 0.7293 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001308/0.005869, allocations: 146.2 kB / 0.9331 GB, free: 17.92 MB / 0.7293 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000135/0.006004, allocations: 247.5 kB / 0.9333 GB, free: 17.7 MB / 0.7293 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.822e-05/0.006063, allocations: 21.42 kB / 0.9334 GB, free: 17.7 MB / 0.7293 GB Notification: Performance of sorting global known variables: time 1.704e-05/0.00608, allocations: 85.92 kB / 0.9334 GB, free: 17.62 MB / 0.7293 GB Notification: Performance of Backend: time 2.31e-07/0.00608, allocations: 0 / 0.9334 GB, free: 17.62 MB / 0.7293 GB Notification: Performance of simCode: created initialization part: time 0.0002527/0.006332, allocations: 99.11 kB / 0.9335 GB, free: 17.55 MB / 0.7293 GB Notification: Performance of SimCode: time 0.0002932/0.006626, allocations: 0.5681 MB / 0.9341 GB, free: 16.96 MB / 0.7293 GB Notification: Performance of Templates: time 0.002159/0.008785, allocations: 0.7579 MB / 0.9348 GB, free: 16.87 MB / 0.7293 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & ./AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.680784112773836] Failed to read output from testmodel.py, exit status != 0: 0.014533711597323418 0.023194255 0.017728008 Calling exit ...