Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.NandGate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001353/0.001353, allocations: 112.4 kB / 21.17 MB, free: 0.6172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001572/0.001572, allocations: 204.6 kB / 24.47 MB, free: 4.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.534/1.534, allocations: 230.4 MB / 258.1 MB, free: 8.148 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Electrical.Analog.Examples.NandGate") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00201/0.00201, allocations: 67.83 kB / 378.7 MB, free: 2.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2958/0.2978, allocations: 53.31 MB / 432.1 MB, free: 7.406 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.NandGate): time 0.006179/0.304, allocations: 4.291 MB / 436.3 MB, free: 3.102 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002183/0.3061, allocations: 1.219 MB / 437.6 MB, free: 1.875 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002354/0.3064, allocations: 11.94 kB / 437.6 MB, free: 1.863 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002846/0.3067, allocations: 106.9 kB / 437.7 MB, free: 1.758 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003634/0.307, allocations: 182.3 kB / 437.9 MB, free: 1.578 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000676/0.3077, allocations: 331.5 kB / 438.2 MB, free: 1.254 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001234/0.3089, allocations: 1.093 MB / 439.3 MB, free: 160 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003671/0.3093, allocations: 194.6 kB / 439.5 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004546/0.3098, allocations: 410.7 kB / 439.9 MB, free: 15.56 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005635/0.3103, allocations: 462.2 kB / 440.3 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001517/0.3105, allocations: 120 kB / 440.4 MB, free: 14.99 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001588/0.3106, allocations: 116 kB / 440.5 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002173/0.3109, allocations: 231.3 kB / 440.8 MB, free: 14.65 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004429/0.3113, allocations: 450 kB / 441.2 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001268/0.3126, allocations: 1.22 MB / 442.4 MB, free: 12.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3126, allocations: 0 / 442.4 MB, free: 12.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.3126, allocations: 4 kB / 442.4 MB, free: 12.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.401e-05/0.3126, allocations: 3.984 kB / 442.4 MB, free: 12.98 MB / 350.1 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.003088/0.3157, allocations: 1.281 MB / 443.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.3157, allocations: 8.031 kB / 443.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001718/0.3159, allocations: 84.42 kB / 443.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007628/0.3166, allocations: 485.9 kB / 444.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.924e-05/0.3167, allocations: 41.69 kB / 444.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001168/0.3168, allocations: 68.34 kB / 444.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002379/0.3192, allocations: 0.9723 MB / 445.4 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.783e-05/0.3192, allocations: 0 / 445.4 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.306e-05/0.3193, allocations: 27.94 kB / 445.4 MB, free: 9.855 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.436e-05/0.3193, allocations: 12 kB / 445.4 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003236/0.3226, allocations: 1.007 MB / 446.4 MB, free: 8.836 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005275/0.3278, allocations: 3.196 MB / 449.6 MB, free: 5.504 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002559/0.3304, allocations: 0.8899 MB / 450.5 MB, free: 4.57 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001281/0.3317, allocations: 429.8 kB / 450.9 MB, free: 4.148 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.403e-05/0.3317, allocations: 8.438 kB / 450.9 MB, free: 4.141 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001317/0.333, allocations: 469 kB / 451.4 MB, free: 3.672 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 2.876e-06/0.333, allocations: 0 / 451.4 MB, free: 3.672 MB / 350.1 MB Notification: Performance of matching and sorting (n=50): time 0.003543/0.3366, allocations: 1.104 MB / 452.5 MB, free: 2.559 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002544/0.3368, allocations: 376.3 kB / 452.9 MB, free: 2.105 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009622/0.3378, allocations: 0.5732 MB / 453.4 MB, free: 1.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.511e-05/0.3379, allocations: 45.69 kB / 453.5 MB, free: 1.469 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003703/0.3383, allocations: 368.5 kB / 453.8 MB, free: 1.105 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001853/0.3384, allocations: 178.5 kB / 454 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002847/0.3387, allocations: 138.6 kB / 454.1 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002208/0.3389, allocations: 374.8 kB / 454.5 MB, free: 424 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001341/0.3403, allocations: 401.7 kB / 454.9 MB, free: 20 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001604/0.3419, allocations: 0.6773 MB / 455.6 MB, free: 15.21 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002576/0.3445, allocations: 0.9701 MB / 456.5 MB, free: 14.15 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.821e-05/0.3445, allocations: 7.938 kB / 456.6 MB, free: 14.14 MB / 366.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.003186/0.3477, allocations: 1.13 MB / 457.7 MB, free: 12.99 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.247e-05/0.3477, allocations: 75.33 kB / 457.8 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.3478, allocations: 4 kB / 457.8 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.649e-05/0.3478, allocations: 12.28 kB / 457.8 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001096/0.3489, allocations: 223.6 kB / 458 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.865e-05/0.3489, allocations: 15.94 kB / 458 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001172/0.3501, allocations: 191.2 kB / 458.2 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.453e-05/0.3501, allocations: 28 kB / 458.2 MB, free: 12.44 MB / 366.1 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.0003679/0.3505, allocations: 241.5 kB / 458.5 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001212/0.3506, allocations: 67.58 kB / 458.5 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001736/0.3508, allocations: 74.41 kB / 458.6 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.3508, allocations: 4 kB / 458.6 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.3508, allocations: 3.938 kB / 458.6 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.3508, allocations: 3.984 kB / 458.6 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003644/0.3545, allocations: 1.681 MB / 460.3 MB, free: 10.31 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.3545, allocations: 4 kB / 460.3 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008411/0.3553, allocations: 143.8 kB / 460.4 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.935e-06/0.3553, allocations: 3.984 kB / 460.4 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.559e-05/0.3554, allocations: 12 kB / 460.4 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.282e-06/0.3554, allocations: 4 kB / 460.5 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.3554, allocations: 4 kB / 460.5 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00362/0.359, allocations: 1.303 MB / 461.8 MB, free: 8.816 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002567/0.3592, allocations: 152.6 kB / 461.9 MB, free: 8.648 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001151/0.3594, allocations: 12 kB / 461.9 MB, free: 8.637 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000818/0.3602, allocations: 107.8 kB / 462 MB, free: 8.531 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001391/0.3603, allocations: 52.31 kB / 462.1 MB, free: 8.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.344e-05/0.3604, allocations: 19.98 kB / 462.1 MB, free: 8.461 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006489/0.361, allocations: 398.8 kB / 462.5 MB, free: 8.074 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.361, allocations: 0 / 462.5 MB, free: 8.074 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006805/0.3617, allocations: 183.8 kB / 462.7 MB, free: 7.895 MB / 366.1 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.0002153/0.3619, allocations: 122.1 kB / 462.8 MB, free: 7.766 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002703/0.3646, allocations: 0.9652 MB / 463.8 MB, free: 6.777 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.3646, allocations: 4 kB / 463.8 MB, free: 6.773 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001138/0.3657, allocations: 387.4 kB / 464.1 MB, free: 6.395 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006908/0.3664, allocations: 102.2 kB / 464.2 MB, free: 6.297 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002742/0.3692, allocations: 1.261 MB / 465.5 MB, free: 5.012 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000542/0.3697, allocations: 0.8824 MB / 466.4 MB, free: 4.102 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004017/0.3701, allocations: 88.84 kB / 466.5 MB, free: 4.016 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002146/0.3703, allocations: 59.42 kB / 466.5 MB, free: 3.957 MB / 366.1 MB Notification: Performance of SimCode: time 1.172e-06/0.3703, allocations: 0 / 466.5 MB, free: 3.957 MB / 366.1 MB Notification: Performance of Templates: time 0.01832/0.3887, allocations: 9.099 MB / 475.6 MB, free: 10.91 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.NandGate.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.NandGate.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.NandGate.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.NandGate.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.NandGate.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.NandGate -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.NandGate.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.888781128916889] Failed to read output from testmodel.py, exit status != 0: ['time', 'Nand.C4.v', 'Nand.C7.v'] 0.3974787392653525 0.412276484 0.09656476300000001 Calling exit ...