Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.NandGate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001375/0.001375, allocations: 85.05 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 145.2 kB / 24.89 MB, free: 8.789 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9431/0.9431, allocations: 173.3 MB / 201.5 MB, free: 9.195 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Analog.Examples.NandGate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 268.5 MB, free: 6.199 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.612e-05/2.785e-05, allocations: 2.312 kB / 268.5 MB, free: 6.195 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.NandGate): time 0.005502/0.00553, allocations: 4.08 MB / 272.5 MB, free: 2.09 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002784/0.008314, allocations: 1.218 MB / 273.8 MB, free: 0.8633 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003682/0.008682, allocations: 11.94 kB / 273.8 MB, free: 0.8516 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002098/0.008892, allocations: 110.8 kB / 273.9 MB, free: 0.7422 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003405/0.009232, allocations: 194.1 kB / 274.1 MB, free: 0.5508 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005562/0.009789, allocations: 339.5 kB / 274.4 MB, free: 224 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007716/0.01056, allocations: 1.112 MB / 275.5 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002526/0.01081, allocations: 201 kB / 275.7 MB, free: 14.9 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006461/0.01146, allocations: 0.6044 MB / 276.3 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003271/0.01179, allocations: 367 kB / 276.7 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001168/0.0119, allocations: 120 kB / 276.8 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.57e-05/0.012, allocations: 116 kB / 276.9 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000122/0.01212, allocations: 239.3 kB / 277.1 MB, free: 13.47 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002008/0.01232, allocations: 311.4 kB / 277.4 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005474/0.01287, allocations: 0.7244 MB / 278.2 MB, free: 12.44 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.484e-06/0.01287, allocations: 0 / 278.2 MB, free: 12.44 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.01287, allocations: 0 / 278.2 MB, free: 12.44 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.837e-06/0.01288, allocations: 0 / 278.2 MB, free: 12.44 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.001262/0.01414, allocations: 1.095 MB / 279.3 MB, free: 11.3 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.01418, allocations: 12.86 kB / 279.3 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003933/0.01457, allocations: 100.9 kB / 279.4 MB, free: 11.19 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003379/0.01491, allocations: 307.4 kB / 279.7 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.144e-05/0.01494, allocations: 41.69 kB / 279.7 MB, free: 10.82 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.665e-05/0.015, allocations: 64.38 kB / 279.8 MB, free: 10.76 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007564/0.01576, allocations: 0.9542 MB / 280.7 MB, free: 9.668 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.01578, allocations: 4.188 kB / 280.7 MB, free: 9.664 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.868e-05/0.01581, allocations: 24.38 kB / 280.8 MB, free: 9.641 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/0.01583, allocations: 19.94 kB / 280.8 MB, free: 9.621 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003149/0.01614, allocations: 242.7 kB / 281 MB, free: 9.383 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002018/0.01816, allocations: 2.273 MB / 283.3 MB, free: 7.012 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004707/0.01863, allocations: 315.3 kB / 283.6 MB, free: 6.695 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001911/0.01882, allocations: 150.3 kB / 283.7 MB, free: 6.547 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.338e-05/0.01885, allocations: 16.5 kB / 283.8 MB, free: 6.531 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000227/0.01908, allocations: 226.1 kB / 284 MB, free: 6.297 MB / 266.7 MB Notification: Performance of pre-optimization done (n=50): time 1.954e-06/0.01908, allocations: 0 / 284 MB, free: 6.297 MB / 266.7 MB Notification: Performance of matching and sorting (n=50): time 0.000445/0.01953, allocations: 333.9 kB / 284.3 MB, free: 5.965 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001187/0.01965, allocations: 372.3 kB / 284.7 MB, free: 5.516 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002616/0.01991, allocations: 462.9 kB / 285.1 MB, free: 5.051 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.745e-05/0.01995, allocations: 41.7 kB / 285.2 MB, free: 5.004 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001282/0.02007, allocations: 329.2 kB / 285.5 MB, free: 4.676 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.785e-05/0.02016, allocations: 182.5 kB / 285.7 MB, free: 4.496 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001339/0.0203, allocations: 138.5 kB / 285.8 MB, free: 4.352 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.28e-05/0.02039, allocations: 378.6 kB / 286.2 MB, free: 3.973 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/0.02054, allocations: 153.3 kB / 286.3 MB, free: 3.812 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005782/0.02112, allocations: 0.724 MB / 287 MB, free: 2.875 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003901/0.02151, allocations: 0.499 MB / 287.5 MB, free: 2.273 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.02151, allocations: 4 kB / 287.5 MB, free: 2.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.000509/0.02202, allocations: 0.5496 MB / 288.1 MB, free: 1.691 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.454e-05/0.02206, allocations: 64.22 kB / 288.2 MB, free: 1.617 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.02207, allocations: 11.94 kB / 288.2 MB, free: 1.605 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.02208, allocations: 12 kB / 288.2 MB, free: 1.594 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004108/0.02249, allocations: 191.7 kB / 288.4 MB, free: 1.406 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.0225, allocations: 15.92 kB / 288.4 MB, free: 1.391 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003182/0.02282, allocations: 119.5 kB / 288.5 MB, free: 1.273 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.315e-05/0.02285, allocations: 32 kB / 288.5 MB, free: 1.242 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.0001413/0.023, allocations: 165.6 kB / 288.7 MB, free: 1.07 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.21e-05/0.02306, allocations: 59.94 kB / 288.8 MB, free: 1.012 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.386e-05/0.02313, allocations: 65.89 kB / 288.8 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.02313, allocations: 4 kB / 288.8 MB, free: 0.9453 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.756e-06/0.02314, allocations: 0 / 288.8 MB, free: 0.9453 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.02314, allocations: 3.984 kB / 288.8 MB, free: 0.9414 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007842/0.02393, allocations: 0.6962 MB / 289.5 MB, free: 224 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.02393, allocations: 0 / 289.5 MB, free: 224 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002855/0.02421, allocations: 119.8 kB / 289.6 MB, free: 104 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.02422, allocations: 4 kB / 289.6 MB, free: 100 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.981e-05/0.02424, allocations: 4 kB / 289.6 MB, free: 96 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.02424, allocations: 8 kB / 289.7 MB, free: 88 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.02424, allocations: 0 / 289.7 MB, free: 88 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005154/0.02476, allocations: 478.8 kB / 290.1 MB, free: 15.61 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.159e-05/0.02481, allocations: 63.44 kB / 290.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.617e-05/0.02486, allocations: 15.94 kB / 290.2 MB, free: 15.53 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002252/0.02509, allocations: 59.97 kB / 290.3 MB, free: 15.47 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.787e-05/0.02517, allocations: 56.34 kB / 290.3 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.957e-05/0.02519, allocations: 12 kB / 290.3 MB, free: 15.4 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001336/0.02532, allocations: 196.4 kB / 290.5 MB, free: 15.21 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02532, allocations: 0 / 290.5 MB, free: 15.21 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003357/0.02566, allocations: 183.7 kB / 290.7 MB, free: 15.03 MB / 282.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.0001105/0.02577, allocations: 103.2 kB / 290.8 MB, free: 14.92 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004417/0.02621, allocations: 0.4972 MB / 291.3 MB, free: 14.38 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.107e-05/0.02622, allocations: 12.44 kB / 291.3 MB, free: 14.37 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001694/0.02639, allocations: 148.7 kB / 291.4 MB, free: 14.21 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002851/0.02667, allocations: 114.2 kB / 291.6 MB, free: 14.11 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001201/0.02787, allocations: 1.006 MB / 292.6 MB, free: 13.07 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.955e-05/0.02794, allocations: 130 kB / 292.7 MB, free: 12.92 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002041/0.02815, allocations: 80.66 kB / 292.8 MB, free: 12.84 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000324/0.02847, allocations: 205.3 kB / 293 MB, free: 12.64 MB / 282.7 MB Notification: Performance of SimCode: time 1.002e-06/0.02847, allocations: 0 / 293 MB, free: 12.64 MB / 282.7 MB Notification: Performance of Templates: time 0.01091/0.03938, allocations: 9.049 MB / 302 MB, free: 3.734 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.NandGate.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.NandGate.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.NandGate.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.NandGate.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.NandGate.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.NandGate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.NandGate.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 242.74406966101378]