Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHPL_OpenHPL.Examples.Gate.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.0009064/0.0009064, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 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 1.068/1.068, allocations: 177.1 MB / 200 MB, free: 5.547 MB / 186.7 MB " [Timeout remaining time 179] 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.001157/0.001157, allocations: 160.5 kB / 256.6 MB, free: 13 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.2856/0.2856, allocations: 80.24 MB / 393.4 MB, free: 2.176 MB / 314.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHPL 4.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHPL 4.0.0/package.mo): time 0.02137/0.02137, allocations: 4.795 MB / 481.5 MB, free: 4.145 MB / 394.7 MB " [Timeout remaining time 180] Using package OpenHPL with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHPL 4.0.0/package.mo) Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(OpenHPL.Examples.Gate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHPL_OpenHPL.Examples.Gate") translateModel(OpenHPL.Examples.Gate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHPL_OpenHPL.Examples.Gate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 0.5674 GB, free: 468 kB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.122e-05/2.334e-05, allocations: 5.688 kB / 0.5674 GB, free: 464 kB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.Gate): time 0.00348/0.003503, allocations: 4.018 MB / 0.5713 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.001939/0.005442, allocations: 1.695 MB / 0.573 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002012/0.005643, allocations: 7.938 kB / 0.573 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0008714/0.006514, allocations: 0.7965 MB / 0.5738 GB, free: 9.895 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002968/0.006811, allocations: 249.8 kB / 0.574 GB, free: 9.648 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006543/0.007465, allocations: 406.9 kB / 0.5744 GB, free: 9.25 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0006806/0.008146, allocations: 1.077 MB / 0.5754 GB, free: 8.164 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004618/0.008607, allocations: 446 kB / 0.5759 GB, free: 7.719 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004503/0.009058, allocations: 0.5651 MB / 0.5764 GB, free: 7.152 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003524/0.00941, allocations: 378.8 kB / 0.5768 GB, free: 6.781 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 9.663e-05/0.009507, allocations: 88 kB / 0.5769 GB, free: 6.695 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001324/0.009639, allocations: 103.9 kB / 0.577 GB, free: 6.594 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.00011/0.009749, allocations: 215.1 kB / 0.5772 GB, free: 6.383 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001942/0.009943, allocations: 307.1 kB / 0.5775 GB, free: 6.082 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000545/0.01049, allocations: 0.681 MB / 0.5781 GB, free: 5.398 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.01049, allocations: 0 / 0.5781 GB, free: 5.398 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.02e-07/0.01049, allocations: 4 kB / 0.5781 GB, free: 5.395 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.356e-06/0.0105, allocations: 0 / 0.5781 GB, free: 5.395 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 172 * Number of variables: 172 Notification: Performance of Generate backend data structure: time 0.001504/0.012, allocations: 1.259 MB / 0.5793 GB, free: 4.098 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.01204, allocations: 8.031 kB / 0.5794 GB, free: 4.09 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005357/0.01258, allocations: 228.2 kB / 0.5796 GB, free: 3.867 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004249/0.01301, allocations: 418.7 kB / 0.58 GB, free: 3.426 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001449/0.01315, allocations: 246.5 kB / 0.5802 GB, free: 3.141 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.547e-05/0.01323, allocations: 64.38 kB / 0.5803 GB, free: 3.078 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008486/0.01407, allocations: 0.8671 MB / 0.5811 GB, free: 2.113 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.01409, allocations: 4 kB / 0.5811 GB, free: 2.109 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.098e-05/0.01414, allocations: 28 kB / 0.5811 GB, free: 2.082 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002174/0.01436, allocations: 16 kB / 0.5812 GB, free: 2.066 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008483/0.0152, allocations: 0.5694 MB / 0.5817 GB, free: 1.496 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002778/0.01798, allocations: 2.487 MB / 0.5841 GB, free: 14.95 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006136/0.0186, allocations: 380.1 kB / 0.5845 GB, free: 14.56 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002765/0.01887, allocations: 205.5 kB / 0.5847 GB, free: 14.36 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 4.324e-05/0.01892, allocations: 16.66 kB / 0.5847 GB, free: 14.34 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/0.01895, allocations: 42.05 kB / 0.5848 GB, free: 14.29 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=78): time 2.024e-06/0.01895, allocations: 0 / 0.5848 GB, free: 14.29 MB / 0.5105 GB Notification: Performance of matching and sorting (n=78): time 0.0009927/0.01994, allocations: 0.6458 MB / 0.5854 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.634e-05/0.02004, allocations: 214.3 kB / 0.5856 GB, free: 13.38 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003901/0.02043, allocations: 0.5182 MB / 0.5861 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.297e-05/0.02047, allocations: 41.7 kB / 0.5861 GB, free: 12.8 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002186/0.02069, allocations: 411.4 kB / 0.5865 GB, free: 12.39 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001488/0.02084, allocations: 269.6 kB / 0.5868 GB, free: 12.12 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001633/0.021, allocations: 156.2 kB / 0.5869 GB, free: 11.96 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001807/0.02119, allocations: 0.5508 MB / 0.5875 GB, free: 11.39 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002313/0.02142, allocations: 149.8 kB / 0.5876 GB, free: 11.25 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006703/0.02209, allocations: 0.6532 MB / 0.5883 GB, free: 10.4 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006549/0.02274, allocations: 0.6507 MB / 0.5889 GB, free: 9.617 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.02275, allocations: 0 / 0.5889 GB, free: 9.617 MB / 0.5105 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.0007795/0.02353, allocations: 0.6843 MB / 0.5896 GB, free: 8.926 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.02355, allocations: 8 kB / 0.5896 GB, free: 8.918 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.02356, allocations: 8 kB / 0.5896 GB, free: 8.91 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.36e-05/0.02358, allocations: 12 kB / 0.5896 GB, free: 8.898 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005298/0.02411, allocations: 235.6 kB / 0.5898 GB, free: 8.668 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-05/0.02412, allocations: 11.94 kB / 0.5898 GB, free: 8.656 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002595/0.02438, allocations: 91.7 kB / 0.5899 GB, free: 8.566 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.067e-05/0.02442, allocations: 44.03 kB / 0.59 GB, free: 8.523 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (102): * Single equations (assignments): 102 * 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 0.0001618/0.02458, allocations: 212.3 kB / 0.5902 GB, free: 8.305 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.595e-05/0.02468, allocations: 103.5 kB / 0.5903 GB, free: 8.203 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007208/0.0254, allocations: 0.5831 MB / 0.5908 GB, free: 7.609 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.02541, allocations: 12 kB / 0.5908 GB, free: 7.598 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.02541, allocations: 3.938 kB / 0.5908 GB, free: 7.594 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.02542, allocations: 7.922 kB / 0.5908 GB, free: 7.586 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001362/0.02678, allocations: 1.257 MB / 0.5921 GB, free: 6.262 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.02679, allocations: 0 / 0.5921 GB, free: 6.262 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004349/0.02722, allocations: 183.7 kB / 0.5923 GB, free: 6.082 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/0.02723, allocations: 8.188 kB / 0.5923 GB, free: 6.074 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.9e-05/0.02726, allocations: 23.98 kB / 0.5923 GB, free: 6.051 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.02726, allocations: 4 kB / 0.5923 GB, free: 6.047 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.02726, allocations: 0 / 0.5923 GB, free: 6.047 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007074/0.02797, allocations: 0.7425 MB / 0.593 GB, free: 5.258 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.188e-05/0.02803, allocations: 83.28 kB / 0.5931 GB, free: 5.176 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.864e-05/0.02809, allocations: 19.92 kB / 0.5931 GB, free: 5.156 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002066/0.0283, allocations: 31.98 kB / 0.5931 GB, free: 5.125 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.0284, allocations: 60.55 kB / 0.5932 GB, free: 5.066 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.979e-05/0.02843, allocations: 27.98 kB / 0.5932 GB, free: 5.039 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002249/0.02866, allocations: 338.7 kB / 0.5935 GB, free: 4.711 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.02866, allocations: 0 / 0.5935 GB, free: 4.711 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003869/0.02904, allocations: 199.7 kB / 0.5937 GB, free: 4.516 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (82): * Single equations (assignments): 82 * 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.000124/0.02917, allocations: 115.1 kB / 0.5938 GB, free: 4.395 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0006502/0.02982, allocations: 0.4999 MB / 0.5943 GB, free: 3.895 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.02982, allocations: 0 / 0.5943 GB, free: 3.895 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002947/0.03012, allocations: 264.5 kB / 0.5946 GB, free: 3.633 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004634/0.03058, allocations: 142.5 kB / 0.5947 GB, free: 3.496 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00215/0.03273, allocations: 1.376 MB / 0.5961 GB, free: 2.055 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.995e-05/0.03283, allocations: 157.3 kB / 0.5962 GB, free: 1.879 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.000242/0.03307, allocations: 101 kB / 0.5963 GB, free: 1.781 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001699/0.03324, allocations: 64.47 kB / 0.5964 GB, free: 1.719 MB / 0.5105 GB Notification: Performance of SimCode: time 8.21e-07/0.03324, allocations: 0 / 0.5964 GB, free: 1.719 MB / 0.5105 GB Notification: Performance of Templates: time 0.168/0.2012, allocations: 9.512 MB / 0.6057 GB, free: 168.5 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f OpenHPL_OpenHPL.Examples.Gate.makefile [Timeout 660] (rm -f OpenHPL_OpenHPL.Examples.Gate.pipe ; mkfifo OpenHPL_OpenHPL.Examples.Gate.pipe ; head -c 1048576 < OpenHPL_OpenHPL.Examples.Gate.pipe >> ../files/OpenHPL_OpenHPL.Examples.Gate.sim & ./OpenHPL_OpenHPL.Examples.Gate -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenHPL_OpenHPL.Examples.Gate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.25134058482945]