Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Nand.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.001975/0.001975, allocations: 118.6 kB / 18.5 MB, free: 4.566 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.002709/0.002709, allocations: 214.6 kB / 21.46 MB, free: 1.605 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.506/1.506, allocations: 230.4 MB / 254.7 MB, free: 14.87 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.Spice3.Examples.Nand,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Spice3_Examples_Nand",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Nand,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Spice3_Examples_Nand",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.001993/0.001993, allocations: 71.83 kB / 373.6 MB, free: 10.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1089, allocations: 53.31 MB / 426.9 MB, free: 4.859 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Nand): time 0.2227/0.3316, allocations: 14.06 MB / 440.9 MB, free: 2.957 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.03039/0.3619, allocations: 20.36 MB / 461.3 MB, free: 4.676 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003356/0.3653, allocations: 119.2 kB / 461.4 MB, free: 4.609 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004201/0.3695, allocations: 1.132 MB / 462.5 MB, free: 4.012 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009873/0.3794, allocations: 2.291 MB / 464.8 MB, free: 2.613 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006077/0.3855, allocations: 1.435 MB / 466.3 MB, free: 1.863 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.012/0.3975, allocations: 6.443 MB / 472.7 MB, free: 15 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008383/0.3983, allocations: 257.1 kB / 473 MB, free: 14.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002451/0.4007, allocations: 1.072 MB / 474 MB, free: 14.3 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002218/0.403, allocations: 1.053 MB / 475.1 MB, free: 13.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003612/0.4033, allocations: 69.5 kB / 475.2 MB, free: 13.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006092/0.4094, allocations: 1.476 MB / 476.6 MB, free: 13.06 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000678/0.4101, allocations: 306.4 kB / 476.9 MB, free: 12.82 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002648/0.4127, allocations: 1.295 MB / 478.2 MB, free: 11.97 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008661/0.4214, allocations: 3.659 MB / 481.9 MB, free: 9.555 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.4214, allocations: 1.375 kB / 481.9 MB, free: 9.555 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4214, allocations: 0 / 481.9 MB, free: 9.555 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000111/0.4215, allocations: 4 kB / 481.9 MB, free: 9.551 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.007477/0.429, allocations: 3.639 MB / 485.5 MB, free: 6.148 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/0.429, allocations: 8.031 kB / 485.5 MB, free: 6.141 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001555/0.4292, allocations: 94.5 kB / 485.6 MB, free: 6.039 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005812/0.4298, allocations: 389.6 kB / 486 MB, free: 5.656 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004759/0.4345, allocations: 2.524 MB / 488.5 MB, free: 3.055 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.84e-05/0.4346, allocations: 33 kB / 488.6 MB, free: 3.023 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001763/0.4348, allocations: 51.95 kB / 488.6 MB, free: 2.973 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001469/0.4362, allocations: 0.7069 MB / 489.3 MB, free: 2.258 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/0.4362, allocations: 3.938 kB / 489.3 MB, free: 2.254 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.548e-05/0.4363, allocations: 19.98 kB / 489.3 MB, free: 2.234 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.601e-05/0.4363, allocations: 19.98 kB / 489.4 MB, free: 2.215 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001571/0.4379, allocations: 0.789 MB / 490.2 MB, free: 1.426 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006256/0.4442, allocations: 2.88 MB / 493 MB, free: 14.48 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001355/0.4455, allocations: 0.6373 MB / 493.7 MB, free: 13.82 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001035/0.4465, allocations: 0.5767 MB / 494.3 MB, free: 13.23 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03602/0.4826, allocations: 30.72 MB / 0.5127 GB, free: 10.27 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007922/0.4834, allocations: 366.2 kB / 0.513 GB, free: 9.895 MB / 430.1 MB Notification: Performance of pre-optimization done (n=49): time 2.895e-06/0.4834, allocations: 0 / 0.513 GB, free: 9.895 MB / 430.1 MB Notification: Performance of matching and sorting (n=49): time 0.003335/0.4867, allocations: 1.397 MB / 0.5144 GB, free: 8.469 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.592e-05/0.4868, allocations: 59.34 kB / 0.5144 GB, free: 8.398 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003732/0.4905, allocations: 2.799 MB / 0.5172 GB, free: 5.578 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.768e-05/0.4906, allocations: 37.7 kB / 0.5172 GB, free: 5.535 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001295/0.4919, allocations: 1.396 MB / 0.5186 GB, free: 4.133 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001944/0.4921, allocations: 174.6 kB / 0.5187 GB, free: 3.961 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003205/0.4924, allocations: 226.4 kB / 0.519 GB, free: 3.734 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.4925, allocations: 338 kB / 0.5193 GB, free: 3.398 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005753/0.4931, allocations: 237.9 kB / 0.5195 GB, free: 3.168 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008399/0.4939, allocations: 0.5891 MB / 0.5201 GB, free: 2.406 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001437/0.4954, allocations: 0.8768 MB / 0.5209 GB, free: 1.359 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.987e-06/0.4954, allocations: 7.938 kB / 0.5209 GB, free: 1.352 MB / 430.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002379/0.4978, allocations: 1.285 MB / 0.5222 GB, free: 56 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.511e-05/0.4978, allocations: 12 kB / 0.5222 GB, free: 44 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001388/0.4979, allocations: 84.03 kB / 0.5223 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005638/0.4985, allocations: 272.9 kB / 0.5225 GB, free: 15.69 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005629/0.4991, allocations: 170 kB / 0.5227 GB, free: 15.53 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001035/0.5001, allocations: 0.8857 MB / 0.5236 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00124/0.5013, allocations: 119.2 kB / 0.5237 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001218/0.5015, allocations: 67.98 kB / 0.5238 GB, free: 14.43 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 14 (vin1.counter,$PRE.vin1.counter,vin2.counter,$PRE.vin2.counter,vin2.counter2,$PRE.vin2.counter2,vin2.T0,$PRE.vin2.T0,vin1.counter2,$PRE.vin1.counter2,vin1.T0,$PRE.vin1.T0,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0007443/0.5022, allocations: 423.1 kB / 0.5242 GB, free: 14.01 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004808/0.5027, allocations: 381.6 kB / 0.5245 GB, free: 13.64 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002793/0.5055, allocations: 1.251 MB / 0.5257 GB, free: 12.38 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.138e-06/0.5055, allocations: 4 kB / 0.5257 GB, free: 12.37 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.5055, allocations: 0 / 0.5257 GB, free: 12.37 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.5055, allocations: 3.938 kB / 0.5258 GB, free: 12.37 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004322/0.5098, allocations: 2.189 MB / 0.5279 GB, free: 10.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001083/0.5099, allocations: 71.98 kB / 0.528 GB, free: 10.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003009/0.5102, allocations: 68 kB / 0.528 GB, free: 9.957 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004673/0.5107, allocations: 261.3 kB / 0.5283 GB, free: 9.699 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.391e-05/0.5108, allocations: 36 kB / 0.5283 GB, free: 9.664 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009671/0.5117, allocations: 0.8559 MB / 0.5291 GB, free: 8.785 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.5117, allocations: 0 / 0.5291 GB, free: 8.785 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002066/0.5138, allocations: 1.146 MB / 0.5303 GB, free: 7.602 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001227/0.515, allocations: 490.4 kB / 0.5307 GB, free: 7.102 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003791/0.5154, allocations: 9.062 kB / 0.5307 GB, free: 7.094 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006867/0.5161, allocations: 35.95 kB / 0.5308 GB, free: 7.059 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001574/0.5162, allocations: 59.95 kB / 0.5308 GB, free: 7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.922e-05/0.5163, allocations: 39.98 kB / 0.5309 GB, free: 6.961 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002562/0.5189, allocations: 1.82 MB / 0.5326 GB, free: 5.137 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.5189, allocations: 0 / 0.5326 GB, free: 5.137 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001575/0.5205, allocations: 0.5696 MB / 0.5332 GB, free: 4.566 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,vin1.T0,vin1.counter,vin1.counter2,vin2.T0,vin2.counter,vin2.counter2) * Number of discrete states: 4 (vin1.counter2,vin2.counter2,vin1.counter,vin2.counter) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003517/0.524, allocations: 2.364 MB / 0.5355 GB, free: 2.156 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001823/0.5258, allocations: 0.8229 MB / 0.5363 GB, free: 1.316 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.121e-06/0.5258, allocations: 8 kB / 0.5363 GB, free: 1.309 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008914/0.5267, allocations: 460.5 kB / 0.5368 GB, free: 0.8359 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002898/0.5296, allocations: 0.6111 MB / 0.5374 GB, free: 232 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02801/0.5576, allocations: 16.03 MB / 0.553 GB, free: 15.64 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00189/0.5595, allocations: 1.604 MB / 0.5546 GB, free: 14.01 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001455/0.5609, allocations: 386.9 kB / 0.5549 GB, free: 13.62 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001535/0.5625, allocations: 1.124 MB / 0.556 GB, free: 12.5 MB / 478.1 MB Notification: Performance of SimCode: time 1.763e-06/0.5625, allocations: 0 / 0.556 GB, free: 12.5 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3337/0.8962, allocations: 62.66 MB / 0.6172 GB, free: 164.8 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.84/19.74, allocations: 1.812 kB / 0.6172 GB, free: 164.8 MB / 0.5137 GB " [Timeout remaining time 640] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Nand.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Nand.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Nand.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Nand.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Nand_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Spice3_Examples_Nand_fmu --startTime=0 --stopTime=2e-07 --stepSize=3.98724e-11 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Spice3_Examples_Nand.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Nand.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 22.322098715696484] Failed to read output from testmodel.py, exit status != 0: ['time', 'mp2.S.v'] 19.871763756964356 19.884988634 19.460422888 Calling exit ...