Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Subtract.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.0007691/0.0007691, allocations: 101.5 kB / 18.95 MB, free: 1.184 MB / 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.0008689/0.0008689, allocations: 209.7 kB / 22.24 MB, free: 3.57 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.9399/0.9399, allocations: 230.6 MB / 256 MB, free: 9.605 MB / 202.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.03953/0.03953, allocations: 12.19 MB / 324.6 MB, free: 6.082 MB / 250.7 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.0004224/0.0004224, allocations: 27.94 kB / 384.1 MB, free: 10.5 MB / 314.7 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 1.723/1.723, allocations: 353.9 MB / 0.7787 GB, free: 4.551 MB / 0.5105 GB " [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: "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Integers.Validation.Subtract,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Integers_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Integers.Validation.Subtract,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Integers_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) [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.002212/0.002212, allocations: 122.5 kB / 1.06 GB, free: 24.77 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2623/0.2645, allocations: 134.9 MB / 1.192 GB, free: 7.508 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.001604/0.2661, allocations: 0.7368 MB / 1.192 GB, free: 6.773 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0008626/0.267, allocations: 0.8939 MB / 1.193 GB, free: 5.867 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.078e-05/0.2671, allocations: 0 / 1.193 GB, free: 5.867 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 3.572e-05/0.2671, allocations: 3.938 kB / 1.193 GB, free: 5.863 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 8.6e-05/0.2672, allocations: 15.86 kB / 1.193 GB, free: 5.848 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001672/0.2673, allocations: 43.89 kB / 1.193 GB, free: 5.805 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 9.598e-05/0.2674, allocations: 79.83 kB / 1.193 GB, free: 5.727 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.2676, allocations: 15.98 kB / 1.193 GB, free: 5.711 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 7.811e-05/0.2676, allocations: 39.89 kB / 1.193 GB, free: 5.672 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 6.827e-05/0.2677, allocations: 47.77 kB / 1.194 GB, free: 5.625 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.108e-05/0.2677, allocations: 11.94 kB / 1.194 GB, free: 5.613 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 1.254e-05/0.2677, allocations: 12 kB / 1.194 GB, free: 5.602 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.648e-05/0.2678, allocations: 23.91 kB / 1.194 GB, free: 5.578 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 3.405e-05/0.2678, allocations: 27.86 kB / 1.194 GB, free: 5.551 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001315/0.2679, allocations: 91.88 kB / 1.194 GB, free: 5.461 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.2679, allocations: 0 / 1.194 GB, free: 5.461 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.605e-06/0.2679, allocations: 0 / 1.194 GB, free: 5.461 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.2679, allocations: 0 / 1.194 GB, free: 5.461 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004835/0.2684, allocations: 322 kB / 1.194 GB, free: 5.117 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.2685, allocations: 8.031 kB / 1.194 GB, free: 5.109 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.437e-05/0.2685, allocations: 38.75 kB / 1.194 GB, free: 5.062 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.007e-05/0.2685, allocations: 8.891 kB / 1.194 GB, free: 5.055 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.2687, allocations: 122.4 kB / 1.194 GB, free: 4.91 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.2687, allocations: 4.375 kB / 1.194 GB, free: 4.906 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.424e-05/0.2687, allocations: 12.12 kB / 1.194 GB, free: 4.895 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003474/0.269, allocations: 97.61 kB / 1.194 GB, free: 4.793 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.269, allocations: 3.984 kB / 1.194 GB, free: 4.789 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.2691, allocations: 4 kB / 1.194 GB, free: 4.785 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.2691, allocations: 0 / 1.194 GB, free: 4.785 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002019/0.2693, allocations: 99.91 kB / 1.194 GB, free: 4.688 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004229/0.2697, allocations: 299.7 kB / 1.195 GB, free: 4.352 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003772/0.2701, allocations: 122.5 kB / 1.195 GB, free: 4.223 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001069/0.2702, allocations: 52.81 kB / 1.195 GB, free: 4.168 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.997e-05/0.2702, allocations: 11.94 kB / 1.195 GB, free: 4.156 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.811e-05/0.2702, allocations: 30.56 kB / 1.195 GB, free: 4.117 MB / 0.823 GB Notification: Performance of pre-optimization done (n=7): time 1.233e-06/0.2702, allocations: 0 / 1.195 GB, free: 4.117 MB / 0.823 GB Notification: Performance of matching and sorting (n=7): time 0.0004039/0.2706, allocations: 181.5 kB / 1.195 GB, free: 3.934 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.931e-05/0.2706, allocations: 59.39 kB / 1.195 GB, free: 3.863 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.586e-05/0.2707, allocations: 121.8 kB / 1.195 GB, free: 3.734 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.364e-05/0.2707, allocations: 25.7 kB / 1.195 GB, free: 3.703 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.517e-05/0.2708, allocations: 100.1 kB / 1.195 GB, free: 3.602 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.154e-05/0.2708, allocations: 19.8 kB / 1.195 GB, free: 3.582 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.372e-05/0.2708, allocations: 21.7 kB / 1.195 GB, free: 3.555 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.659e-05/0.2709, allocations: 322.8 kB / 1.196 GB, free: 3.23 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001037/0.271, allocations: 43.95 kB / 1.196 GB, free: 3.188 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.267e-05/0.2711, allocations: 51.89 kB / 1.196 GB, free: 3.137 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001835/0.2713, allocations: 92.78 kB / 1.196 GB, free: 3.043 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.2713, allocations: 0 / 1.196 GB, free: 3.043 MB / 0.823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002309/0.2715, allocations: 141.5 kB / 1.196 GB, free: 2.898 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.2715, allocations: 4 kB / 1.196 GB, free: 2.895 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.2715, allocations: 0 / 1.196 GB, free: 2.895 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.2716, allocations: 4 kB / 1.196 GB, free: 2.891 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.882e-05/0.2716, allocations: 23.97 kB / 1.196 GB, free: 2.867 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.607e-06/0.2717, allocations: 7.875 kB / 1.196 GB, free: 2.859 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.291e-05/0.2717, allocations: 15.92 kB / 1.196 GB, free: 2.844 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.224e-06/0.2717, allocations: 0.5469 kB / 1.196 GB, free: 2.844 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (reaToInt1.y,reaToInt.y,sub.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 7.311e-05/0.2718, allocations: 125.8 kB / 1.196 GB, free: 2.711 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.79e-05/0.2718, allocations: 7.953 kB / 1.196 GB, free: 2.703 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.298e-05/0.2718, allocations: 12.38 kB / 1.196 GB, free: 2.688 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.2718, allocations: 7.938 kB / 1.196 GB, free: 2.68 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.2718, allocations: 3.938 kB / 1.196 GB, free: 2.676 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.2718, allocations: 0 / 1.196 GB, free: 2.676 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001358/0.272, allocations: 156.7 kB / 1.196 GB, free: 2.48 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.31e-07/0.272, allocations: 0 / 1.196 GB, free: 2.48 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.402e-05/0.272, allocations: 23.97 kB / 1.196 GB, free: 2.457 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.2721, allocations: 4 kB / 1.196 GB, free: 2.453 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.2721, allocations: 8 kB / 1.196 GB, free: 2.445 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.2721, allocations: 0 / 1.196 GB, free: 2.445 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.2721, allocations: 3.938 kB / 1.196 GB, free: 2.441 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002617/0.2723, allocations: 235.3 kB / 1.197 GB, free: 2.195 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.361e-05/0.2723, allocations: 11.89 kB / 1.197 GB, free: 2.184 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.34e-05/0.2724, allocations: 0 / 1.197 GB, free: 2.184 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.999e-05/0.2724, allocations: 15.98 kB / 1.197 GB, free: 2.168 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.282e-05/0.2725, allocations: 27.91 kB / 1.197 GB, free: 2.141 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.986e-06/0.2725, allocations: 7.984 kB / 1.197 GB, free: 2.133 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.781e-05/0.2725, allocations: 95.7 kB / 1.197 GB, free: 2.039 MB / 0.823 GB Notification: Performance of sort global known variables: time 6.1e-08/0.2725, allocations: 0 / 1.197 GB, free: 2.039 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001582/0.2727, allocations: 12 kB / 1.197 GB, free: 2.027 MB / 0.823 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 (sub.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.0004714/0.2732, allocations: 0.7645 MB / 1.198 GB, free: 1.238 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002541/0.2734, allocations: 107.9 kB / 1.198 GB, free: 1.133 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2734, allocations: 0 / 1.198 GB, free: 1.133 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001058/0.2735, allocations: 63.88 kB / 1.198 GB, free: 1.07 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002709/0.2738, allocations: 13.62 kB / 1.198 GB, free: 1.059 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001436/0.2752, allocations: 1.541 MB / 1.199 GB, free: 15.44 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.812e-05/0.2753, allocations: 87.08 kB / 1.199 GB, free: 15.33 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 5.423e-05/0.2753, allocations: 8 kB / 1.199 GB, free: 15.32 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.655e-05/0.2754, allocations: 35.39 kB / 1.199 GB, free: 15.29 MB / 0.8387 GB Notification: Performance of SimCode: time 8.52e-07/0.2754, allocations: 192 / 1.199 GB, free: 15.29 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01915/0.2946, allocations: 3.358 MB / 1.203 GB, free: 12.07 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.461/6.755, allocations: 9.406 kB / 1.203 GB, free: 12.07 MB / 0.8387 GB " [Timeout remaining time 653] (rm -f AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Subtract.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Controls_OBC_CDL_Integers_Validation_Subtract_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 AixLib_AixLib_Controls_OBC_CDL_Integers_Validation_Subtract.fmu > AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.224470240063965] Failed to read output from testmodel.py, exit status != 0: 6.835583741776645 6.844046023 6.574257228 Calling exit ...