Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.NandGate.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.0009362/0.0009362, allocations: 80.8 kB / 22.29 MB, free: 2.207 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.000902/0.000902, allocations: 167 kB / 25.7 MB, free: 8.402 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.802/0.802, allocations: 158.6 MB / 187.6 MB, free: 2.773 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Electrical.Analog.Examples.NandGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5059,variableFilter="time|Nand.C4.v|Nand.C7.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.NandGate") translateModel(Modelica.Electrical.Analog.Examples.NandGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5059,variableFilter="time|Nand.C4.v|Nand.C7.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.NandGate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 251.5 MB, free: 7.277 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.888e-05/2.016e-05, allocations: 2.312 kB / 251.5 MB, free: 7.273 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.NandGate): time 0.003648/0.003668, allocations: 3.906 MB / 255.4 MB, free: 3.34 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001864/0.005533, allocations: 1.153 MB / 256.6 MB, free: 2.18 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002466/0.005779, allocations: 8 kB / 256.6 MB, free: 2.172 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001924/0.005972, allocations: 98.95 kB / 256.7 MB, free: 2.074 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002945/0.006266, allocations: 186.2 kB / 256.9 MB, free: 1.891 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005221/0.006788, allocations: 287.6 kB / 257.2 MB, free: 1.609 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008411/0.007629, allocations: 0.9835 MB / 258.1 MB, free: 0.6211 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002622/0.007892, allocations: 189 kB / 258.3 MB, free: 436 kB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000542/0.008434, allocations: 0.5537 MB / 258.9 MB, free: 15.87 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004002/0.008834, allocations: 351.1 kB / 259.2 MB, free: 15.53 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001101/0.008944, allocations: 123.9 kB / 259.3 MB, free: 15.41 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.605e-05/0.00903, allocations: 112 kB / 259.5 MB, free: 15.3 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001104/0.009141, allocations: 215.4 kB / 259.7 MB, free: 15.09 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00021/0.00935, allocations: 303.4 kB / 260 MB, free: 14.79 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005103/0.009861, allocations: 0.6738 MB / 260.6 MB, free: 14.11 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.009864, allocations: 0 / 260.6 MB, free: 14.11 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.009865, allocations: 4 kB / 260.6 MB, free: 14.11 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.205e-06/0.009873, allocations: 3.938 kB / 260.6 MB, free: 14.11 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.00121/0.01108, allocations: 1.017 MB / 261.7 MB, free: 13.05 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.102e-05/0.01111, allocations: 11.98 kB / 261.7 MB, free: 13.04 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001081/0.01122, allocations: 92.86 kB / 261.8 MB, free: 12.95 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003049/0.01153, allocations: 271.7 kB / 262 MB, free: 12.66 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.346e-05/0.01156, allocations: 41.69 kB / 262.1 MB, free: 12.62 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.504e-05/0.01163, allocations: 60.38 kB / 262.1 MB, free: 12.56 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008065/0.01243, allocations: 0.8264 MB / 262.9 MB, free: 11.62 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.01245, allocations: 192 / 262.9 MB, free: 11.62 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.029e-05/0.01249, allocations: 31.94 kB / 263 MB, free: 11.59 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.0125, allocations: 12 kB / 263 MB, free: 11.57 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003059/0.0128, allocations: 226.8 kB / 263.2 MB, free: 11.35 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002027/0.01483, allocations: 2.187 MB / 265.4 MB, free: 9.066 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005014/0.01533, allocations: 320.3 kB / 265.7 MB, free: 8.746 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002283/0.01556, allocations: 146.3 kB / 265.9 MB, free: 8.602 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.897e-05/0.0156, allocations: 16.48 kB / 265.9 MB, free: 8.586 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002471/0.01585, allocations: 226.1 kB / 266.1 MB, free: 8.348 MB / 250.7 MB Notification: Performance of pre-optimization done (n=50): time 2.254e-06/0.01585, allocations: 0 / 266.1 MB, free: 8.348 MB / 250.7 MB Notification: Performance of matching and sorting (n=50): time 0.0004493/0.0163, allocations: 326 kB / 266.4 MB, free: 8.023 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.016e-05/0.01639, allocations: 273.5 kB / 266.7 MB, free: 7.695 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002395/0.01663, allocations: 423 kB / 267.1 MB, free: 7.27 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.657e-05/0.01666, allocations: 41.7 kB / 267.1 MB, free: 7.223 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/0.01678, allocations: 309.4 kB / 267.4 MB, free: 6.914 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000103/0.01689, allocations: 178.4 kB / 267.6 MB, free: 6.738 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001345/0.01702, allocations: 138.5 kB / 267.7 MB, free: 6.598 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.93e-05/0.01711, allocations: 378.6 kB / 268.1 MB, free: 6.219 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001464/0.01726, allocations: 149.4 kB / 268.3 MB, free: 6.059 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003286/0.01759, allocations: 0.5998 MB / 268.9 MB, free: 5.289 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004081/0.01799, allocations: 0.4951 MB / 269.4 MB, free: 4.695 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.018, allocations: 4 kB / 269.4 MB, free: 4.691 MB / 250.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0005245/0.01852, allocations: 0.5382 MB / 269.9 MB, free: 4.125 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.412e-05/0.01857, allocations: 71.39 kB / 270 MB, free: 4.043 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.01858, allocations: 4 kB / 270 MB, free: 4.039 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.01859, allocations: 15.98 kB / 270 MB, free: 4.023 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004085/0.019, allocations: 192.2 kB / 270.2 MB, free: 3.836 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.01901, allocations: 15.94 kB / 270.2 MB, free: 3.82 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003314/0.01934, allocations: 115.5 kB / 270.3 MB, free: 3.707 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.322e-05/0.01938, allocations: 31.98 kB / 270.3 MB, free: 3.676 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 10 (VIN2.signalSource.count,$PRE.VIN2.signalSource.count,VIN2.signalSource.T_start,$PRE.VIN2.signalSource.T_start,VIN1.signalSource.count,$PRE.VIN1.signalSource.count,VIN1.signalSource.T_start,$PRE.VIN1.signalSource.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 2 * 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.0001445/0.01952, allocations: 165.5 kB / 270.5 MB, free: 3.504 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.991e-05/0.01958, allocations: 51.95 kB / 270.5 MB, free: 3.453 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.147e-05/0.01965, allocations: 65.5 kB / 270.6 MB, free: 3.391 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.01966, allocations: 4 kB / 270.6 MB, free: 3.387 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.01966, allocations: 0 / 270.6 MB, free: 3.387 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.01967, allocations: 3.984 kB / 270.6 MB, free: 3.383 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007882/0.02046, allocations: 0.6728 MB / 271.3 MB, free: 2.688 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.02046, allocations: 0 / 271.3 MB, free: 2.688 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002956/0.02076, allocations: 119.8 kB / 271.4 MB, free: 2.57 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.02076, allocations: 0 / 271.4 MB, free: 2.57 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.419e-05/0.02078, allocations: 15.98 kB / 271.4 MB, free: 2.555 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.02078, allocations: 0 / 271.4 MB, free: 2.555 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.02079, allocations: 0 / 271.4 MB, free: 2.555 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000624/0.02141, allocations: 478.7 kB / 271.9 MB, free: 2.07 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.254e-05/0.02146, allocations: 55.5 kB / 271.9 MB, free: 2.016 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.534e-05/0.02152, allocations: 15.98 kB / 272 MB, free: 2 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002179/0.02174, allocations: 51.95 kB / 272 MB, free: 1.949 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.598e-05/0.02182, allocations: 56.41 kB / 272.1 MB, free: 1.895 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.97e-05/0.02184, allocations: 19.89 kB / 272.1 MB, free: 1.875 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001198/0.02196, allocations: 176.4 kB / 272.3 MB, free: 1.703 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02196, allocations: 3.938 kB / 272.3 MB, free: 1.699 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003337/0.0223, allocations: 171.8 kB / 272.4 MB, free: 1.531 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Nand.C4.v,Nand.C7.v) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,VIN1.signalSource.T_start,VIN1.signalSource.count,VIN2.signalSource.T_start,VIN2.signalSource.count) * Number of discrete states: 2 (VIN1.signalSource.count,VIN2.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0001188/0.02241, allocations: 100.3 kB / 272.5 MB, free: 1.426 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000454/0.02287, allocations: 0.4924 MB / 273 MB, free: 0.8906 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.101e-05/0.02288, allocations: 4.5 kB / 273 MB, free: 0.8867 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001701/0.02305, allocations: 160.6 kB / 273.2 MB, free: 0.7305 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003089/0.02336, allocations: 110.8 kB / 273.3 MB, free: 0.6211 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00123/0.02459, allocations: 0.9412 MB / 274.2 MB, free: 15.64 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.011e-05/0.02466, allocations: 125.9 kB / 274.4 MB, free: 15.5 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001954/0.02485, allocations: 80.53 kB / 274.4 MB, free: 15.43 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002869/0.02514, allocations: 171.3 kB / 274.6 MB, free: 15.26 MB / 266.7 MB Notification: Performance of SimCode: time 1.062e-06/0.02514, allocations: 0 / 274.6 MB, free: 15.26 MB / 266.7 MB Notification: Performance of Templates: time 0.009875/0.03502, allocations: 8.589 MB / 283.2 MB, free: 6.703 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.NandGate.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.NandGate.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.NandGate.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.NandGate.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.NandGate.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.NandGate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.NandGate.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 242.51680895360187]