Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.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.0007774/0.0007774, allocations: 79.69 kB / 20.03 MB, free: 4.488 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.0007936/0.0007936, allocations: 165.3 kB / 23.33 MB, free: 1.188 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.8844/0.8844, allocations: 177.1 MB / 203.6 MB, free: 5.719 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.03771/0.03771, allocations: 9.121 MB / 269.2 MB, free: 4.441 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.0005076/0.0005076, allocations: 27.95 kB / 328.7 MB, free: 5.797 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.653/1.653, allocations: 274.9 MB / 0.6476 GB, free: 2.805 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.RealScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") translateModel(AixLib.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.905e-06/2.905e-06, allocations: 0 / 0.9295 GB, free: 20.94 MB / 0.7293 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.757e-05/3.048e-05, allocations: 3.266 kB / 0.9295 GB, free: 20.93 MB / 0.7293 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001297/0.001328, allocations: 0.6289 MB / 0.9301 GB, free: 20.55 MB / 0.7293 GB Notification: Performance of NFInst.instExpressions: time 0.0006481/0.001976, allocations: 0.8251 MB / 0.9309 GB, free: 19.93 MB / 0.7293 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.799e-05/0.002024, allocations: 0 / 0.9309 GB, free: 19.93 MB / 0.7293 GB Notification: Performance of NFTyping.typeComponents: time 8.846e-05/0.002112, allocations: 1.375 kB / 0.9309 GB, free: 19.93 MB / 0.7293 GB Notification: Performance of NFTyping.typeBindings: time 1.902e-05/0.002131, allocations: 7.938 kB / 0.9309 GB, free: 19.92 MB / 0.7293 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001033/0.002235, allocations: 9.203 kB / 0.9309 GB, free: 19.91 MB / 0.7293 GB Notification: Performance of NFFlatten.flatten: time 6.522e-05/0.0023, allocations: 24.73 kB / 0.9309 GB, free: 19.9 MB / 0.7293 GB Notification: Performance of NFFlatten.resolveConnections: time 8.569e-05/0.002385, allocations: 11.92 kB / 0.9309 GB, free: 19.89 MB / 0.7293 GB Notification: Performance of NFEvalConstants.evaluate: time 5.993e-05/0.002445, allocations: 16.62 kB / 0.9309 GB, free: 19.89 MB / 0.7293 GB Notification: Performance of NFSimplifyModel.simplify: time 5.036e-05/0.002496, allocations: 5.891 kB / 0.9309 GB, free: 19.89 MB / 0.7293 GB Notification: Performance of NFPackage.collectConstants: time 1.708e-05/0.002513, allocations: 2.219 kB / 0.9309 GB, free: 19.89 MB / 0.7293 GB Notification: Performance of NFFlatten.collectFunctions: time 7.775e-06/0.002521, allocations: 2.656 kB / 0.931 GB, free: 19.89 MB / 0.7293 GB Notification: Performance of NFScalarize.scalarize: time 5.138e-05/0.002572, allocations: 7.828 kB / 0.931 GB, free: 19.88 MB / 0.7293 GB Notification: Performance of NFVerifyModel.verify: time 2.686e-05/0.002599, allocations: 12.5 kB / 0.931 GB, free: 19.88 MB / 0.7293 GB Notification: Performance of NFConvertDAE.convert: time 8.04e-05/0.002679, allocations: 31.03 kB / 0.931 GB, free: 19.86 MB / 0.7293 GB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.002682, allocations: 8 kB / 0.931 GB, free: 19.86 MB / 0.7293 GB Notification: Performance of FrontEnd: time 1.352e-06/0.002683, allocations: 0 / 0.931 GB, free: 19.86 MB / 0.7293 GB Notification: Performance of Transformations before backend: time 3.617e-06/0.002687, allocations: 0 / 0.931 GB, free: 19.86 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.0003079/0.002994, allocations: 263.3 kB / 0.9313 GB, free: 19.59 MB / 0.7293 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.003034, allocations: 12.48 kB / 0.9313 GB, free: 19.59 MB / 0.7293 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.485e-05/0.003059, allocations: 2.594 kB / 0.9313 GB, free: 19.59 MB / 0.7293 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.788e-05/0.003157, allocations: 120.4 kB / 0.9314 GB, free: 19.45 MB / 0.7293 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.347e-06/0.003166, allocations: 5.906 kB / 0.9314 GB, free: 19.45 MB / 0.7293 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.625e-05/0.003182, allocations: 1.719 kB / 0.9314 GB, free: 19.45 MB / 0.7293 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001296/0.003312, allocations: 61 kB / 0.9315 GB, free: 19.4 MB / 0.7293 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.003319, allocations: 192 / 0.9315 GB, free: 19.4 MB / 0.7293 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.076e-06/0.003328, allocations: 4.922 kB / 0.9315 GB, free: 19.4 MB / 0.7293 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.003332, allocations: 5.438 kB / 0.9315 GB, free: 19.39 MB / 0.7293 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.422e-05/0.003416, allocations: 42.62 kB / 0.9315 GB, free: 19.38 MB / 0.7293 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002348/0.003651, allocations: 212.5 kB / 0.9317 GB, free: 19.18 MB / 0.7293 GB Notification: Performance of preOpt comSubExp (simulation): time 6.21e-05/0.003713, allocations: 29.69 kB / 0.9317 GB, free: 19.15 MB / 0.7293 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.664e-05/0.00376, allocations: 27.16 kB / 0.9318 GB, free: 19.14 MB / 0.7293 GB Notification: Performance of preOpt evalFunc (simulation): time 1.003e-05/0.00377, allocations: 0 / 0.9318 GB, free: 19.14 MB / 0.7293 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.426e-05/0.003784, allocations: 36.73 kB / 0.9318 GB, free: 19.09 MB / 0.7293 GB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.003785, allocations: 0 / 0.9318 GB, free: 19.09 MB / 0.7293 GB Notification: Performance of matching and sorting (n=1): time 0.0002057/0.00399, allocations: 80.3 kB / 0.9319 GB, free: 19.05 MB / 0.7293 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.294e-05/0.004003, allocations: 52.5 kB / 0.9319 GB, free: 18.99 MB / 0.7293 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.507e-05/0.004048, allocations: 103.5 kB / 0.932 GB, free: 18.89 MB / 0.7293 GB Notification: Performance of collectPreVariables (initialization): time 5.14e-06/0.004054, allocations: 29.7 kB / 0.9321 GB, free: 18.85 MB / 0.7293 GB Notification: Performance of collectInitialEqns (initialization): time 2.077e-05/0.004074, allocations: 87.22 kB / 0.9321 GB, free: 18.77 MB / 0.7293 GB Notification: Performance of collectInitialBindings (initialization): time 1.297e-05/0.004087, allocations: 5.016 kB / 0.9321 GB, free: 18.76 MB / 0.7293 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.969e-05/0.004107, allocations: 12.72 kB / 0.9322 GB, free: 18.75 MB / 0.7293 GB Notification: Performance of setup shared object (initialization): time 3.076e-05/0.004138, allocations: 317 kB / 0.9325 GB, free: 18.43 MB / 0.7293 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.036e-05/0.004178, allocations: 13.45 kB / 0.9325 GB, free: 18.43 MB / 0.7293 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.661e-05/0.004215, allocations: 13.8 kB / 0.9325 GB, free: 18.43 MB / 0.7293 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.499e-05/0.00429, allocations: 40.39 kB / 0.9325 GB, free: 18.41 MB / 0.7293 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.004291, allocations: 0 / 0.9325 GB, free: 18.41 MB / 0.7293 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.588e-05/0.004387, allocations: 63.66 kB / 0.9326 GB, free: 18.38 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.004401, allocations: 12.88 kB / 0.9326 GB, free: 18.37 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.004405, allocations: 0 / 0.9326 GB, free: 18.37 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.004416, allocations: 1.188 kB / 0.9326 GB, free: 18.37 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.362e-05/0.00447, allocations: 7.094 kB / 0.9326 GB, free: 18.37 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.004477, allocations: 4.031 kB / 0.9326 GB, free: 18.37 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.277e-05/0.004499, allocations: 6.312 kB / 0.9326 GB, free: 18.37 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-06/0.004504, allocations: 0.7031 kB / 0.9326 GB, free: 18.37 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 3.475e-05/0.004539, allocations: 113.7 kB / 0.9327 GB, free: 18.25 MB / 0.7293 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.346e-05/0.004552, allocations: 6.156 kB / 0.9327 GB, free: 18.25 MB / 0.7293 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.508e-05/0.004567, allocations: 9 kB / 0.9327 GB, free: 18.24 MB / 0.7293 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.00457, allocations: 0 / 0.9327 GB, free: 18.24 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.00457, allocations: 0 / 0.9327 GB, free: 18.24 MB / 0.7293 GB Notification: Performance of postOpt removeConstants (simulation): time 7.153e-06/0.004578, allocations: 6.266 kB / 0.9327 GB, free: 18.24 MB / 0.7293 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.797e-06/0.004586, allocations: 1.469 kB / 0.9327 GB, free: 18.24 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.888e-05/0.004625, allocations: 14.28 kB / 0.9328 GB, free: 18.23 MB / 0.7293 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.355e-05/0.004659, allocations: 2.641 kB / 0.9328 GB, free: 18.23 MB / 0.7293 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001112/0.00477, allocations: 142.6 kB / 0.9329 GB, free: 18.12 MB / 0.7293 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001094/0.004879, allocations: 236.8 kB / 0.9331 GB, free: 17.9 MB / 0.7293 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.098e-05/0.00493, allocations: 19.03 kB / 0.9331 GB, free: 17.9 MB / 0.7293 GB Notification: Performance of sorting global known variables: time 1.6e-05/0.004946, allocations: 88.91 kB / 0.9332 GB, free: 17.82 MB / 0.7293 GB Notification: Performance of Backend: time 2.4e-07/0.004947, allocations: 3.938 kB / 0.9332 GB, free: 17.81 MB / 0.7293 GB Notification: Performance of simCode: created initialization part: time 0.0002582/0.005205, allocations: 92.11 kB / 0.9333 GB, free: 17.75 MB / 0.7293 GB Notification: Performance of SimCode: time 0.0003056/0.00551, allocations: 0.5608 MB / 0.9339 GB, free: 17.16 MB / 0.7293 GB Notification: Performance of Templates: time 0.001919/0.00743, allocations: 0.549 MB / 0.9344 GB, free: 17.09 MB / 0.7293 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & ./AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.862270871177316] Failed to read output from testmodel.py, exit status != 0: 0.012339961715042591 0.020373191000000002 0.016024355 Calling exit ...