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.001423/0.001423, allocations: 109.7 kB / 19.74 MB, free: 2.586 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.00152/0.00152, allocations: 222.3 kB / 22.92 MB, free: 5.559 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.27/1.27, allocations: 230.4 MB / 256.4 MB, free: 8.277 MB / 206.1 MB " [Timeout remaining time 179] 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.001751/0.001751, allocations: 71.89 kB / 376.1 MB, free: 4.098 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2047/0.2064, allocations: 53.31 MB / 429.4 MB, free: 7.469 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Nand): time 0.01269/0.2191, allocations: 14.07 MB / 443.5 MB, free: 9.336 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02164/0.2408, allocations: 20.38 MB / 463.8 MB, free: 4.879 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001493/0.2422, allocations: 118.9 kB / 464 MB, free: 4.762 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002384/0.2446, allocations: 1.128 MB / 465.1 MB, free: 3.629 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005846/0.2505, allocations: 2.311 MB / 467.4 MB, free: 1.301 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003713/0.2542, allocations: 1.441 MB / 468.8 MB, free: 15.86 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008997/0.2632, allocations: 6.453 MB / 475.3 MB, free: 9.383 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004613/0.2636, allocations: 252.4 kB / 475.5 MB, free: 9.102 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001292/0.2649, allocations: 1.065 MB / 476.6 MB, free: 8.031 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001205/0.2661, allocations: 1.056 MB / 477.7 MB, free: 6.969 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001605/0.2663, allocations: 75.94 kB / 477.7 MB, free: 6.895 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003381/0.2697, allocations: 1.475 MB / 479.2 MB, free: 5.418 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002783/0.27, allocations: 309.7 kB / 479.5 MB, free: 5.113 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001115/0.2711, allocations: 1.3 MB / 480.8 MB, free: 3.805 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004044/0.2751, allocations: 3.648 MB / 484.5 MB, free: 144 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2751, allocations: 0 / 484.5 MB, free: 144 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.2751, allocations: 3.938 kB / 484.5 MB, free: 140 kB / 382.1 MB Notification: Performance of Transformations before backend: time 2.975e-05/0.2752, allocations: 3.938 kB / 484.5 MB, free: 136 kB / 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.004446/0.2796, allocations: 3.622 MB / 488.1 MB, free: 12.43 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.2796, allocations: 12.03 kB / 488.1 MB, free: 12.42 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001102/0.2798, allocations: 94.5 kB / 488.2 MB, free: 12.32 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003687/0.2801, allocations: 389.6 kB / 488.6 MB, free: 11.94 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003113/0.2832, allocations: 2.532 MB / 491.1 MB, free: 9.332 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.034e-05/0.2833, allocations: 33 kB / 491.1 MB, free: 9.301 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001181/0.2834, allocations: 55.92 kB / 491.2 MB, free: 9.246 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001216/0.2846, allocations: 0.7069 MB / 491.9 MB, free: 8.531 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.2846, allocations: 0 / 491.9 MB, free: 8.531 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.481e-05/0.2847, allocations: 20 kB / 491.9 MB, free: 8.512 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.886e-05/0.2847, allocations: 19.98 kB / 491.9 MB, free: 8.492 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001453/0.2861, allocations: 0.7851 MB / 492.7 MB, free: 7.707 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004189/0.2903, allocations: 2.888 MB / 495.6 MB, free: 4.75 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00118/0.2915, allocations: 0.6412 MB / 496.2 MB, free: 4.082 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009167/0.2924, allocations: 0.5805 MB / 496.8 MB, free: 3.504 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02808/0.3205, allocations: 30.72 MB / 0.5152 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007177/0.3212, allocations: 361.6 kB / 0.5155 GB, free: 172 kB / 430.1 MB Notification: Performance of pre-optimization done (n=49): time 2.565e-06/0.3212, allocations: 0 / 0.5155 GB, free: 172 kB / 430.1 MB Notification: Performance of matching and sorting (n=49): time 0.003063/0.3243, allocations: 1.401 MB / 0.5169 GB, free: 14.73 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.066e-05/0.3243, allocations: 67.39 kB / 0.517 GB, free: 14.66 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003185/0.3275, allocations: 2.796 MB / 0.5197 GB, free: 11.84 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.124e-05/0.3276, allocations: 33.7 kB / 0.5197 GB, free: 11.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001167/0.3287, allocations: 1.396 MB / 0.5211 GB, free: 10.4 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001591/0.3289, allocations: 174.6 kB / 0.5213 GB, free: 10.23 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002918/0.3292, allocations: 222.4 kB / 0.5215 GB, free: 10 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.3293, allocations: 345.9 kB / 0.5218 GB, free: 9.66 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005573/0.3299, allocations: 229.9 kB / 0.522 GB, free: 9.438 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000817/0.3307, allocations: 0.593 MB / 0.5226 GB, free: 8.672 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00141/0.3321, allocations: 0.8802 MB / 0.5235 GB, free: 7.621 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.676e-06/0.3321, allocations: 4 kB / 0.5235 GB, free: 7.617 MB / 446.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002304/0.3344, allocations: 1.289 MB / 0.5247 GB, free: 6.32 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.793e-05/0.3345, allocations: 12 kB / 0.5247 GB, free: 6.309 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001105/0.3346, allocations: 83.94 kB / 0.5248 GB, free: 6.227 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005504/0.3351, allocations: 280.8 kB / 0.5251 GB, free: 5.949 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005549/0.3357, allocations: 167.6 kB / 0.5252 GB, free: 5.785 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009593/0.3366, allocations: 0.8764 MB / 0.5261 GB, free: 4.883 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009473/0.3376, allocations: 123.3 kB / 0.5262 GB, free: 4.762 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.444e-05/0.3377, allocations: 64 kB / 0.5263 GB, free: 4.699 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.0006845/0.3384, allocations: 421.5 kB / 0.5267 GB, free: 4.277 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003553/0.3387, allocations: 381.6 kB / 0.527 GB, free: 3.902 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002635/0.3414, allocations: 1.255 MB / 0.5283 GB, free: 2.625 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.555e-06/0.3414, allocations: 4 kB / 0.5283 GB, free: 2.621 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.3414, allocations: 0 / 0.5283 GB, free: 2.621 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.3414, allocations: 7.922 kB / 0.5283 GB, free: 2.613 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00327/0.3447, allocations: 2.185 MB / 0.5304 GB, free: 356 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.494e-05/0.3447, allocations: 68 kB / 0.5305 GB, free: 288 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003049/0.3451, allocations: 71.94 kB / 0.5305 GB, free: 216 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000453/0.3455, allocations: 259.2 kB / 0.5308 GB, free: 15.95 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.532e-05/0.3456, allocations: 35.97 kB / 0.5308 GB, free: 15.92 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008864/0.3464, allocations: 0.8647 MB / 0.5317 GB, free: 15.03 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.3464, allocations: 0 / 0.5317 GB, free: 15.03 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001794/0.3482, allocations: 1.142 MB / 0.5328 GB, free: 13.84 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006128/0.3489, allocations: 482.4 kB / 0.5332 GB, free: 13.35 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002285/0.3491, allocations: 19.98 kB / 0.5333 GB, free: 13.33 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006277/0.3497, allocations: 27.91 kB / 0.5333 GB, free: 13.3 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001376/0.3498, allocations: 59.95 kB / 0.5333 GB, free: 13.25 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.884e-05/0.3499, allocations: 43.98 kB / 0.5334 GB, free: 13.2 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002156/0.3521, allocations: 1.824 MB / 0.5352 GB, free: 11.38 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3521, allocations: 0 / 0.5352 GB, free: 11.38 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001174/0.3532, allocations: 0.5696 MB / 0.5357 GB, free: 10.8 MB / 462.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.003052/0.3563, allocations: 2.367 MB / 0.538 GB, free: 8.395 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001692/0.358, allocations: 0.8222 MB / 0.5388 GB, free: 7.551 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.358, allocations: 0 / 0.5388 GB, free: 7.551 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008753/0.3589, allocations: 464.1 kB / 0.5393 GB, free: 7.074 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002228/0.3611, allocations: 0.6177 MB / 0.5399 GB, free: 6.453 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1708/0.5319, allocations: 16.02 MB / 0.5555 GB, free: 117.8 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005923/0.5325, allocations: 1.602 MB / 0.5571 GB, free: 117.1 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008428/0.5333, allocations: 391.7 kB / 0.5575 GB, free: 117.1 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007119/0.534, allocations: 1.122 MB / 0.5586 GB, free: 116.2 MB / 462.1 MB Notification: Performance of SimCode: time 1.002e-06/0.534, allocations: 0 / 0.5586 GB, free: 116.2 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07832/0.6124, allocations: 62.75 MB / 0.6198 GB, free: 55.6 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.17/16.78, allocations: 6.516 kB / 0.6199 GB, free: 55.6 MB / 462.1 MB " [Timeout remaining time 643] (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 --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: 18.97977975899994]