Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0008791/0.0008791, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.000923/0.000923, allocations: 171.9 kB / 24.92 MB, free: 8.723 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.8883/0.8883, allocations: 177.1 MB / 205.3 MB, free: 5.105 MB / 186.7 MB " [Timeout remaining time 179] 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(Modelica.Electrical.Analog.Examples.NandGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5059,variableFilter="time|Nand.C4.v|Nand.C7.v",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Electrical.Analog.Examples.NandGate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 273.4 MB, free: 1.18 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.119e-05/2.27e-05, allocations: 2.312 kB / 273.5 MB, free: 1.176 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.NandGate): time 0.005508/0.00553, allocations: 4.115 MB / 277.6 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002648/0.008179, allocations: 1.233 MB / 278.8 MB, free: 11.8 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000442/0.008621, allocations: 11.94 kB / 278.8 MB, free: 11.79 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003028/0.008923, allocations: 110.9 kB / 278.9 MB, free: 11.68 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004023/0.009326, allocations: 194.1 kB / 279.1 MB, free: 11.49 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000623/0.009949, allocations: 343.5 kB / 279.4 MB, free: 11.15 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007931/0.01074, allocations: 1.116 MB / 280.6 MB, free: 10.03 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000257/0.011, allocations: 197 kB / 280.8 MB, free: 9.832 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005078/0.01151, allocations: 0.6044 MB / 281.4 MB, free: 9.227 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003261/0.01183, allocations: 367 kB / 281.7 MB, free: 8.867 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001036/0.01194, allocations: 120 kB / 281.8 MB, free: 8.75 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.259e-05/0.01203, allocations: 120 kB / 281.9 MB, free: 8.633 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001243/0.01215, allocations: 227.2 kB / 282.2 MB, free: 8.41 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002368/0.01239, allocations: 323.3 kB / 282.5 MB, free: 8.094 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005434/0.01293, allocations: 0.7167 MB / 283.2 MB, free: 7.375 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.01294, allocations: 0 / 283.2 MB, free: 7.375 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.01294, allocations: 0 / 283.2 MB, free: 7.375 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.544e-06/0.01295, allocations: 0 / 283.2 MB, free: 7.375 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 147 * Number of variables: 147 Notification: Performance of Generate backend data structure: time 0.001251/0.0142, allocations: 1.115 MB / 284.3 MB, free: 6.219 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.01423, allocations: 8.031 kB / 284.3 MB, free: 6.211 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001178/0.01435, allocations: 104.8 kB / 284.4 MB, free: 6.109 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003421/0.01469, allocations: 299.5 kB / 284.7 MB, free: 5.789 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.09e-05/0.01472, allocations: 45.69 kB / 284.8 MB, free: 5.746 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.896e-05/0.01479, allocations: 64.38 kB / 284.8 MB, free: 5.684 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007619/0.01555, allocations: 0.9581 MB / 285.8 MB, free: 4.586 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.01557, allocations: 192 / 285.8 MB, free: 4.586 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.22e-05/0.01561, allocations: 28.38 kB / 285.8 MB, free: 4.559 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.01562, allocations: 15.94 kB / 285.8 MB, free: 4.543 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003173/0.01594, allocations: 250.7 kB / 286.1 MB, free: 4.297 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00203/0.01797, allocations: 2.269 MB / 288.3 MB, free: 1.934 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005164/0.01848, allocations: 314.8 kB / 288.7 MB, free: 1.617 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001964/0.01868, allocations: 150.3 kB / 288.8 MB, free: 1.469 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.323e-05/0.01871, allocations: 16.48 kB / 288.8 MB, free: 1.453 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002401/0.01895, allocations: 226.1 kB / 289 MB, free: 1.219 MB / 266.7 MB Notification: Performance of pre-optimization done (n=50): time 1.633e-06/0.01895, allocations: 0 / 289 MB, free: 1.219 MB / 266.7 MB Notification: Performance of matching and sorting (n=50): time 0.0004579/0.01941, allocations: 337.9 kB / 289.4 MB, free: 0.8867 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001096/0.01952, allocations: 372.3 kB / 289.7 MB, free: 448 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.09412/0.1136, allocations: 460.2 kB / 290.2 MB, free: 26.27 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001201/0.1138, allocations: 38.3 kB / 290.2 MB, free: 26.24 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001527/0.1139, allocations: 336 kB / 290.5 MB, free: 26.13 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001087/0.114, allocations: 177.6 kB / 290.7 MB, free: 26.04 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001584/0.1142, allocations: 137.9 kB / 290.9 MB, free: 26.02 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.632e-05/0.1142, allocations: 378.8 kB / 291.2 MB, free: 25.71 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001928/0.1144, allocations: 146.9 kB / 291.4 MB, free: 25.64 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002685/0.1147, allocations: 0.7266 MB / 292.1 MB, free: 24.88 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000405/0.1151, allocations: 0.4993 MB / 292.6 MB, free: 24.59 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/0.1151, allocations: 2.781 kB / 292.6 MB, free: 24.59 MB / 266.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.000624/0.1157, allocations: 0.5531 MB / 293.1 MB, free: 24.43 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.112e-05/0.1158, allocations: 64.66 kB / 293.2 MB, free: 24.36 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.1158, allocations: 6.438 kB / 293.2 MB, free: 24.36 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/0.1158, allocations: 10.66 kB / 293.2 MB, free: 24.36 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004763/0.1163, allocations: 195.1 kB / 293.4 MB, free: 24.36 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/0.1163, allocations: 13.36 kB / 293.4 MB, free: 24.36 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003793/0.1167, allocations: 133.6 kB / 293.6 MB, free: 24.34 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.074e-05/0.1167, allocations: 27.42 kB / 293.6 MB, free: 24.34 MB / 266.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.0001451/0.1169, allocations: 171.2 kB / 293.8 MB, free: 24.21 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.895e-05/0.117, allocations: 55.59 kB / 293.8 MB, free: 24.21 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.131e-05/0.117, allocations: 73.83 kB / 293.9 MB, free: 24.2 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.117, allocations: 9.312 kB / 293.9 MB, free: 24.2 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.117, allocations: 0 / 293.9 MB, free: 24.2 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.117, allocations: 2.766 kB / 293.9 MB, free: 24.2 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008786/0.1179, allocations: 0.6838 MB / 294.6 MB, free: 24 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.1179, allocations: 3.125 kB / 294.6 MB, free: 24 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003147/0.1182, allocations: 111.6 kB / 294.7 MB, free: 24 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.1182, allocations: 5.969 kB / 294.7 MB, free: 24 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.453e-05/0.1183, allocations: 15.09 kB / 294.7 MB, free: 24 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.858e-06/0.1183, allocations: 3.625 kB / 294.7 MB, free: 24 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.1183, allocations: 3.938 kB / 294.7 MB, free: 23.99 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005432/0.1188, allocations: 482.7 kB / 295.2 MB, free: 23.84 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.518e-05/0.1189, allocations: 58.33 kB / 295.2 MB, free: 23.8 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.85e-05/0.1189, allocations: 13.25 kB / 295.3 MB, free: 23.8 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002402/0.1192, allocations: 62.27 kB / 295.3 MB, free: 23.8 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.956e-05/0.1193, allocations: 48.58 kB / 295.4 MB, free: 23.8 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.035e-05/0.1193, allocations: 11.77 kB / 295.4 MB, free: 23.8 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000174/0.1195, allocations: 204.3 kB / 295.6 MB, free: 23.79 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1195, allocations: 0 / 295.6 MB, free: 23.79 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003838/0.1198, allocations: 184.5 kB / 295.8 MB, free: 23.78 MB / 266.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.0001195/0.12, allocations: 95.7 kB / 295.9 MB, free: 23.71 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004672/0.1204, allocations: 0.5056 MB / 296.4 MB, free: 23.48 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.83e-05/0.1204, allocations: 8 kB / 296.4 MB, free: 23.48 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001884/0.1206, allocations: 152.9 kB / 296.5 MB, free: 23.46 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003223/0.121, allocations: 115.3 kB / 296.6 MB, free: 23.45 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001302/0.1223, allocations: 1.012 MB / 297.6 MB, free: 22.94 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.655e-05/0.1223, allocations: 132.2 kB / 297.8 MB, free: 22.86 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002312/0.1226, allocations: 81.64 kB / 297.8 MB, free: 22.84 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003427/0.1229, allocations: 200.6 kB / 298 MB, free: 22.79 MB / 266.7 MB Notification: Performance of SimCode: time 1.002e-06/0.1229, allocations: 0 / 298 MB, free: 22.79 MB / 266.7 MB Notification: Performance of Templates: time 0.01101/0.1339, allocations: 9.042 MB / 307.1 MB, free: 18.96 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.NandGate.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.NandGate.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.NandGate.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.NandGate.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.NandGate.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.NandGate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.NandGate.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 242.6528087388724]