Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Nor.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.001399/0.001399, allocations: 106.5 kB / 19.74 MB, free: 2.453 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.001522/0.001522, allocations: 216 kB / 22.92 MB, free: 5.191 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.5 MB / 256.4 MB, free: 8.25 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.Nor,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Spice3_Examples_Nor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Nor,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Spice3_Examples_Nor",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.00179/0.00179, allocations: 67.89 kB / 376.1 MB, free: 4.094 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2044/0.2062, allocations: 53.32 MB / 429.4 MB, free: 7.441 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Nor): time 0.01302/0.2192, allocations: 14.25 MB / 443.6 MB, free: 9.137 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02157/0.2408, allocations: 20.42 MB / 464.1 MB, free: 4.641 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001528/0.2423, allocations: 118.9 kB / 464.2 MB, free: 4.523 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002414/0.2447, allocations: 1.136 MB / 465.3 MB, free: 3.383 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005797/0.2505, allocations: 2.326 MB / 467.6 MB, free: 1.039 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003794/0.2543, allocations: 1.456 MB / 469.1 MB, free: 15.58 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009395/0.2637, allocations: 6.515 MB / 475.6 MB, free: 9.043 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005064/0.2642, allocations: 248.5 kB / 475.8 MB, free: 8.766 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00142/0.2657, allocations: 1.1 MB / 477 MB, free: 7.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001326/0.267, allocations: 1.091 MB / 478 MB, free: 6.562 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002012/0.2672, allocations: 72 kB / 478.1 MB, free: 6.492 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003658/0.2708, allocations: 1.483 MB / 479.6 MB, free: 5.008 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003608/0.2712, allocations: 325.7 kB / 479.9 MB, free: 4.688 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001374/0.2726, allocations: 1.316 MB / 481.2 MB, free: 3.363 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005023/0.2776, allocations: 3.706 MB / 484.9 MB, free: 15.64 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2776, allocations: 0 / 484.9 MB, free: 15.64 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.347e-06/0.2776, allocations: 4 kB / 484.9 MB, free: 15.64 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.553e-05/0.2777, allocations: 0 / 484.9 MB, free: 15.64 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.004896/0.2826, allocations: 3.689 MB / 488.6 MB, free: 11.87 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.2826, allocations: 11.97 kB / 488.6 MB, free: 11.86 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001219/0.2827, allocations: 98.5 kB / 488.7 MB, free: 11.75 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003988/0.2831, allocations: 393.5 kB / 489.1 MB, free: 11.37 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003224/0.2863, allocations: 2.559 MB / 491.7 MB, free: 8.734 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.206e-05/0.2864, allocations: 37 kB / 491.7 MB, free: 8.699 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001268/0.2865, allocations: 47.98 kB / 491.8 MB, free: 8.652 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001421/0.2879, allocations: 0.7538 MB / 492.5 MB, free: 7.891 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.2879, allocations: 7.938 kB / 492.5 MB, free: 7.883 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.963e-05/0.288, allocations: 20 kB / 492.5 MB, free: 7.863 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.213e-05/0.288, allocations: 19.98 kB / 492.6 MB, free: 7.844 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001765/0.2898, allocations: 0.8553 MB / 493.4 MB, free: 6.988 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00454/0.2943, allocations: 2.978 MB / 496.4 MB, free: 3.934 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001677/0.296, allocations: 0.7207 MB / 497.1 MB, free: 3.207 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001417/0.2974, allocations: 0.8628 MB / 498 MB, free: 2.344 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02916/0.3266, allocations: 30.69 MB / 0.5163 GB, free: 15.41 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00115/0.3277, allocations: 0.6035 MB / 0.5169 GB, free: 14.79 MB / 446.1 MB Notification: Performance of pre-optimization done (n=96): time 2.455e-06/0.3277, allocations: 0 / 0.5169 GB, free: 14.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=99): time 0.01193/0.3397, allocations: 5.27 MB / 0.522 GB, free: 9.273 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.731e-05/0.3397, allocations: 72.33 kB / 0.5221 GB, free: 9.191 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00314/0.3429, allocations: 2.692 MB / 0.5247 GB, free: 6.484 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001075/0.343, allocations: 41.7 kB / 0.5247 GB, free: 6.438 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00112/0.3441, allocations: 1.311 MB / 0.526 GB, free: 5.121 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003189/0.3444, allocations: 349 kB / 0.5264 GB, free: 4.777 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003571/0.3448, allocations: 238.4 kB / 0.5266 GB, free: 4.535 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.3449, allocations: 345.9 kB / 0.5269 GB, free: 4.191 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001227/0.3461, allocations: 474 kB / 0.5274 GB, free: 3.727 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001337/0.3475, allocations: 0.6509 MB / 0.528 GB, free: 3.012 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002543/0.35, allocations: 1.133 MB / 0.5291 GB, free: 1.816 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.35, allocations: 0 / 0.5291 GB, free: 1.816 MB / 446.1 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.00401/0.354, allocations: 1.985 MB / 0.5311 GB, free: 15.75 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/0.3541, allocations: 8 kB / 0.5311 GB, free: 15.74 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001713/0.3542, allocations: 116 kB / 0.5312 GB, free: 15.63 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006628/0.3549, allocations: 272.8 kB / 0.5314 GB, free: 15.33 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008402/0.3557, allocations: 195.6 kB / 0.5316 GB, free: 15.14 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1643/0.5201, allocations: 14.24 MB / 0.5455 GB, free: 119.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001406/0.5215, allocations: 88.91 kB / 0.5456 GB, free: 119.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001382/0.5216, allocations: 57.53 kB / 0.5457 GB, free: 119.3 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 21 (v.counter,$PRE.v.counter,vin2.counter,$PRE.vin2.counter,vin1.counter,$PRE.vin1.counter,v.counter2,$PRE.v.counter2,v.T0,$PRE.v.T0,vin2.counter2,$PRE.vin2.counter2,vin2.T0,$PRE.vin2.T0,vin1.counter2,$PRE.vin1.counter2,vin1.T0,$PRE.vin1.T0,$whenCondition1,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 10 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,3,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007229/0.5223, allocations: 431.3 kB / 0.5461 GB, free: 119.2 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004096/0.5228, allocations: 388.4 kB / 0.5464 GB, free: 119.2 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004315/0.5271, allocations: 2.217 MB / 0.5486 GB, free: 118.8 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/0.5271, allocations: 8.625 kB / 0.5486 GB, free: 118.8 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.5271, allocations: 4.906 kB / 0.5486 GB, free: 118.8 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.697e-06/0.5271, allocations: 4.125 kB / 0.5486 GB, free: 118.8 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001495/0.5286, allocations: 1.538 MB / 0.5501 GB, free: 118.6 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001228/0.5287, allocations: 116.2 kB / 0.5502 GB, free: 118.6 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006484/0.5294, allocations: 138.9 kB / 0.5504 GB, free: 118.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005147/0.5299, allocations: 264.5 kB / 0.5506 GB, free: 118.5 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.297e-05/0.5299, allocations: 42.2 kB / 0.5507 GB, free: 118.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005433/0.5354, allocations: 14.25 MB / 0.5646 GB, free: 104.5 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.5354, allocations: 3.938 kB / 0.5646 GB, free: 104.5 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004402/0.5398, allocations: 2.567 MB / 0.5671 GB, free: 103.5 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005926/0.5404, allocations: 0.5034 MB / 0.5676 GB, free: 103.2 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002664/0.5406, allocations: 15.91 kB / 0.5676 GB, free: 103.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009162/0.5416, allocations: 88.98 kB / 0.5677 GB, free: 103.2 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002813/0.5418, allocations: 137.8 kB / 0.5678 GB, free: 103.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.806e-05/0.5419, allocations: 51.27 kB / 0.5679 GB, free: 103.2 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001762/0.5437, allocations: 1.776 MB / 0.5696 GB, free: 102.5 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5437, allocations: 3.25 kB / 0.5696 GB, free: 102.5 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00123/0.5449, allocations: 0.6554 MB / 0.5702 GB, free: 102.5 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (mp1.Dinternal,mp1.Sinternal,mp2.Dinternal,mp2.Sinternal,mn1.Dinternal,mn1.Sinternal,mn2.Dinternal,mn2.Sinternal) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,vin1.T0,vin1.counter,vin1.counter2,vin2.T0,vin2.counter,vin2.counter2,v.T0,v.counter,v.counter2) * Number of discrete states: 6 (vin1.counter,vin2.counter,v.counter,vin1.counter2,vin2.counter2,v.counter2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 9 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 10 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,3,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005174/0.5501, allocations: 3.817 MB / 0.574 GB, free: 100.5 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00315/0.5532, allocations: 2.447 MB / 0.5763 GB, free: 97.91 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.5532, allocations: 0 / 0.5763 GB, free: 97.91 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001888/0.5551, allocations: 1.913 MB / 0.5782 GB, free: 95.84 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00225/0.5574, allocations: 0.6362 MB / 0.5788 GB, free: 95.21 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02098/0.5784, allocations: 18.21 MB / 0.5966 GB, free: 76.59 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006396/0.579, allocations: 1.662 MB / 0.5982 GB, free: 74.89 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008971/0.5799, allocations: 387.3 kB / 0.5986 GB, free: 74.51 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008123/0.5807, allocations: 1.198 MB / 0.5998 GB, free: 73.31 MB / 462.1 MB Notification: Performance of SimCode: time 1.162e-06/0.5807, allocations: 7.938 kB / 0.5998 GB, free: 73.3 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1158/0.6966, allocations: 67.17 MB / 0.6654 GB, free: 6.477 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.99/15.68, allocations: 3.938 kB / 0.6654 GB, free: 6.473 MB / 462.1 MB " [Timeout remaining time 644] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Nor.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Nor.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Nor.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Nor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Nor_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Spice3_Examples_Nor_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Spice3_Examples_Nor.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Nor.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.872459744998196]