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.001738/0.001738, allocations: 113.3 kB / 20.22 MB, free: 1.793 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.002694/0.002694, allocations: 212.5 kB / 23.48 MB, free: 5.227 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.393/1.393, allocations: 230.4 MB / 257 MB, free: 8.254 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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.NandGate,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_NandGate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.NandGate,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_NandGate",fmuType="me",version="2.0",platforms={"static"}) [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.001854/0.001854, allocations: 63.91 kB / 377.1 MB, free: 3.594 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2493/0.2512, allocations: 53.31 MB / 430.4 MB, free: 7.242 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.NandGate): time 0.005756/0.2569, allocations: 4.288 MB / 434.7 MB, free: 2.938 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002212/0.2592, allocations: 1.219 MB / 435.9 MB, free: 1.711 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002895/0.2595, allocations: 12 kB / 435.9 MB, free: 1.699 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002788/0.2597, allocations: 110.8 kB / 436 MB, free: 1.59 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003604/0.2601, allocations: 182.3 kB / 436.2 MB, free: 1.41 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006271/0.2607, allocations: 331.5 kB / 436.5 MB, free: 1.086 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001091/0.2618, allocations: 1.082 MB / 437.6 MB, free: 0 / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003602/0.2622, allocations: 198.6 kB / 437.8 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000481/0.2626, allocations: 406.8 kB / 438.2 MB, free: 15.4 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005396/0.2632, allocations: 462.2 kB / 438.6 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001564/0.2633, allocations: 124 kB / 438.8 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001732/0.2635, allocations: 120 kB / 438.9 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000217/0.2637, allocations: 227.3 kB / 439.1 MB, free: 14.49 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004526/0.2642, allocations: 450 kB / 439.5 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001257/0.2654, allocations: 1.234 MB / 440.8 MB, free: 12.81 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.2655, allocations: 0 / 440.8 MB, free: 12.81 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.2655, allocations: 0 / 440.8 MB, free: 12.81 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.045e-05/0.2655, allocations: 0 / 440.8 MB, free: 12.81 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.002838/0.2683, allocations: 1.278 MB / 442.1 MB, free: 11.47 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.2684, allocations: 8.031 kB / 442.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001479/0.2685, allocations: 102.7 kB / 442.2 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000155/0.2687, allocations: 88.42 kB / 442.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007293/0.2694, allocations: 482 kB / 442.7 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.99e-05/0.2694, allocations: 45.69 kB / 442.8 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001205/0.2696, allocations: 60.36 kB / 442.8 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002107/0.2717, allocations: 0.9643 MB / 443.8 MB, free: 9.625 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.121e-05/0.2717, allocations: 11.92 kB / 443.8 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.886e-05/0.2718, allocations: 28 kB / 443.8 MB, free: 9.586 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.903e-05/0.2718, allocations: 16 kB / 443.8 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002792/0.2746, allocations: 0.9991 MB / 444.8 MB, free: 8.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00557/0.2801, allocations: 3.208 MB / 448.1 MB, free: 5.227 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00228/0.2824, allocations: 0.8773 MB / 448.9 MB, free: 4.305 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001124/0.2835, allocations: 421.7 kB / 449.3 MB, free: 3.891 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.546e-05/0.2836, allocations: 20.56 kB / 449.4 MB, free: 3.871 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001152/0.2847, allocations: 469 kB / 449.8 MB, free: 3.402 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 2.544e-06/0.2847, allocations: 0 / 449.8 MB, free: 3.402 MB / 350.1 MB Notification: Performance of matching and sorting (n=50): time 0.003053/0.2878, allocations: 1.092 MB / 450.9 MB, free: 2.301 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002281/0.288, allocations: 384.1 kB / 451.3 MB, free: 1.84 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008291/0.2889, allocations: 0.5771 MB / 451.9 MB, free: 1.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.465e-05/0.2889, allocations: 37.7 kB / 451.9 MB, free: 1.207 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003129/0.2892, allocations: 380.4 kB / 452.3 MB, free: 0.832 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001667/0.2894, allocations: 178.5 kB / 452.4 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002473/0.2897, allocations: 134.6 kB / 452.6 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001907/0.2898, allocations: 382.8 kB / 453 MB, free: 140 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001131/0.291, allocations: 401.7 kB / 453.3 MB, free: 15.74 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001383/0.2924, allocations: 0.6733 MB / 454 MB, free: 14.95 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002226/0.2946, allocations: 0.9778 MB / 455 MB, free: 13.87 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.119e-06/0.2946, allocations: 0 / 455 MB, free: 13.87 MB / 366.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002867/0.2975, allocations: 1.142 MB / 456.1 MB, free: 12.71 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.291e-05/0.2975, allocations: 67.39 kB / 456.2 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.2975, allocations: 8 kB / 456.2 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.44e-05/0.2976, allocations: 8 kB / 456.2 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001018/0.2986, allocations: 219.6 kB / 456.4 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.83e-05/0.2986, allocations: 15.97 kB / 456.5 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001023/0.2996, allocations: 191.2 kB / 456.6 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-05/0.2997, allocations: 36 kB / 456.7 MB, free: 12.16 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.0003406/0.3, allocations: 233.5 kB / 456.9 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001099/0.3001, allocations: 67.58 kB / 457 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001606/0.3003, allocations: 74.39 kB / 457 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.3003, allocations: 8 kB / 457 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.3003, allocations: 0 / 457 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.3003, allocations: 0 / 457 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003343/0.3037, allocations: 1.681 MB / 458.7 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.3037, allocations: 0 / 458.7 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007708/0.3044, allocations: 143.8 kB / 458.9 MB, free: 9.898 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.3044, allocations: 8 kB / 458.9 MB, free: 9.891 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.28e-05/0.3045, allocations: 11.98 kB / 458.9 MB, free: 9.879 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.3045, allocations: 0 / 458.9 MB, free: 9.879 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.656e-06/0.3045, allocations: 3.938 kB / 458.9 MB, free: 9.875 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003138/0.3076, allocations: 1.303 MB / 460.2 MB, free: 8.551 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001632/0.3078, allocations: 152.6 kB / 460.3 MB, free: 8.383 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.575e-05/0.3079, allocations: 16 kB / 460.4 MB, free: 8.367 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000737/0.3086, allocations: 103.9 kB / 460.5 MB, free: 8.266 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001234/0.3087, allocations: 52.31 kB / 460.5 MB, free: 8.215 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.209e-05/0.3088, allocations: 15.98 kB / 460.5 MB, free: 8.199 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005774/0.3094, allocations: 398.8 kB / 460.9 MB, free: 7.812 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3094, allocations: 7.875 kB / 460.9 MB, free: 7.805 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006033/0.31, allocations: 179.8 kB / 461.1 MB, free: 7.629 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.003551/0.3135, allocations: 1.859 MB / 463 MB, free: 5.738 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002396/0.3159, allocations: 0.9691 MB / 463.9 MB, free: 4.746 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.3159, allocations: 0 / 463.9 MB, free: 4.746 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001027/0.3169, allocations: 395.3 kB / 464.3 MB, free: 4.359 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005977/0.3175, allocations: 110.1 kB / 464.4 MB, free: 4.254 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01169/0.3292, allocations: 6.472 MB / 470.9 MB, free: 13.51 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000518/0.3298, allocations: 0.8746 MB / 471.8 MB, free: 12.61 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004284/0.3302, allocations: 88.84 kB / 471.9 MB, free: 12.52 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003956/0.3306, allocations: 227.4 kB / 472.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of SimCode: time 8.31e-07/0.3306, allocations: 0 / 472.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04123/0.3718, allocations: 14.57 MB / 486.6 MB, free: 13.89 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.977/9.349, allocations: 5.953 kB / 486.6 MB, free: 13.89 MB / 398.1 MB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.NandGate_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_NandGate_fmu --startTime=0 --stopTime=1e-07 --stepSize=1.97668e-11 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_NandGate.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.NandGate.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.56530496198684] Failed to read output from testmodel.py, exit status != 0: ['time', 'Nand.C4.v', 'Nand.C7.v'] 9.429226916050538 9.457020185 9.186398089 Calling exit ...