Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.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.001193/0.001193, allocations: 101.5 kB / 21.21 MB, free: 0.6289 MB / 14.72 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.001298/0.001298, allocations: 191.4 kB / 24.49 MB, free: 3.941 MB / 14.72 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 1.403/1.403, allocations: 225.7 MB / 253.3 MB, free: 12.82 MB / 206.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001716/0.001716, allocations: 47.91 kB / 371.2 MB, free: 9.648 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2634/0.2651, allocations: 52.18 MB / 423.4 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.005043/0.2702, allocations: 2.584 MB / 426 MB, free: 11.79 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001581/0.2718, allocations: 0.6543 MB / 426.6 MB, free: 11.13 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002716/0.272, allocations: 7.938 kB / 426.6 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001968/0.2722, allocations: 43.58 kB / 426.7 MB, free: 11.08 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003217/0.2726, allocations: 95.25 kB / 426.8 MB, free: 10.98 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003314/0.2729, allocations: 91.83 kB / 426.9 MB, free: 10.89 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005362/0.2734, allocations: 366.5 kB / 427.2 MB, free: 10.54 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000177/0.2736, allocations: 52.92 kB / 427.3 MB, free: 10.48 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002367/0.2738, allocations: 139.5 kB / 427.4 MB, free: 10.34 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002296/0.2741, allocations: 151.4 kB / 427.6 MB, free: 10.2 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.972e-05/0.2741, allocations: 32 kB / 427.6 MB, free: 10.16 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.02e-05/0.2742, allocations: 28 kB / 427.6 MB, free: 10.14 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.372e-05/0.2743, allocations: 67.7 kB / 427.7 MB, free: 10.07 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001488/0.2744, allocations: 119.4 kB / 427.8 MB, free: 9.953 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004199/0.2748, allocations: 329 kB / 428.1 MB, free: 9.633 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.2748, allocations: 0 / 428.1 MB, free: 9.633 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.2748, allocations: 0 / 428.1 MB, free: 9.633 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.528e-06/0.2749, allocations: 4 kB / 428.1 MB, free: 9.629 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001439/0.2763, allocations: 0.5694 MB / 428.7 MB, free: 9.027 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.2763, allocations: 8.031 kB / 428.7 MB, free: 9.02 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.865e-05/0.2764, allocations: 8.625 kB / 428.7 MB, free: 9.012 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.748e-05/0.2764, allocations: 54.73 kB / 428.8 MB, free: 8.949 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.317e-05/0.2765, allocations: 36.75 kB / 428.8 MB, free: 8.914 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004951/0.277, allocations: 233.8 kB / 429 MB, free: 8.66 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.278e-05/0.277, allocations: 12.81 kB / 429 MB, free: 8.648 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.336e-05/0.2771, allocations: 20.38 kB / 429.1 MB, free: 8.629 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007452/0.2778, allocations: 329.1 kB / 429.4 MB, free: 8.281 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.2778, allocations: 0 / 429.4 MB, free: 8.281 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.05e-05/0.2779, allocations: 12 kB / 429.4 MB, free: 8.27 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/0.2779, allocations: 4 kB / 429.4 MB, free: 8.266 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008328/0.2787, allocations: 245.5 kB / 429.6 MB, free: 8.023 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001771/0.2805, allocations: 0.8512 MB / 430.5 MB, free: 7.109 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008209/0.2813, allocations: 226.6 kB / 430.7 MB, free: 6.879 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003198/0.2816, allocations: 96.94 kB / 430.8 MB, free: 6.781 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.89e-05/0.2817, allocations: 7.875 kB / 430.8 MB, free: 6.773 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005016/0.2822, allocations: 237.2 kB / 431 MB, free: 6.508 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.513e-06/0.2822, allocations: 0 / 431 MB, free: 6.508 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.002278/0.2844, allocations: 0.576 MB / 431.6 MB, free: 5.922 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.066e-05/0.2845, allocations: 106.8 kB / 431.7 MB, free: 5.793 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003344/0.2849, allocations: 269.8 kB / 432 MB, free: 5.516 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.322e-05/0.2849, allocations: 29.7 kB / 432 MB, free: 5.48 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001529/0.285, allocations: 184 kB / 432.2 MB, free: 5.297 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.879e-05/0.2851, allocations: 51.56 kB / 432.2 MB, free: 5.246 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.764e-05/0.2852, allocations: 41.7 kB / 432.3 MB, free: 5.199 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.2853, allocations: 338.8 kB / 432.6 MB, free: 4.859 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003605/0.2857, allocations: 129.6 kB / 432.7 MB, free: 4.727 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000437/0.2861, allocations: 263.2 kB / 433 MB, free: 4.414 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006941/0.2868, allocations: 281.4 kB / 433.3 MB, free: 4.105 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.2868, allocations: 4 kB / 433.3 MB, free: 4.102 MB / 334.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001253/0.2881, allocations: 477.3 kB / 433.7 MB, free: 3.613 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.942e-05/0.2881, allocations: 37.69 kB / 433.8 MB, free: 3.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.2881, allocations: 8.062 kB / 433.8 MB, free: 3.562 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003986/0.2885, allocations: 72.8 kB / 433.9 MB, free: 3.488 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002158/0.2888, allocations: 51.91 kB / 433.9 MB, free: 3.438 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003073/0.2918, allocations: 1.89 MB / 435.8 MB, free: 1.43 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000348/0.2922, allocations: 47.81 kB / 435.8 MB, free: 1.383 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.582e-05/0.2922, allocations: 12 kB / 435.9 MB, free: 1.371 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 1 * 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 {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001844/0.2924, allocations: 145.8 kB / 436 MB, free: 1.219 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.455e-05/0.2924, allocations: 31.8 kB / 436 MB, free: 1.188 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.136e-05/0.2925, allocations: 21.78 kB / 436.1 MB, free: 1.164 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.389e-06/0.2925, allocations: 4 kB / 436.1 MB, free: 1.16 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.2925, allocations: 3.984 kB / 436.1 MB, free: 1.156 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.2925, allocations: 0 / 436.1 MB, free: 1.156 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002877/0.2928, allocations: 224.7 kB / 436.3 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/0.2928, allocations: 4 kB / 436.3 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001458/0.293, allocations: 27.91 kB / 436.3 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002841/0.2932, allocations: 80.86 kB / 436.4 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.83e-05/0.2933, allocations: 4 kB / 436.4 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002627/0.2959, allocations: 1.813 MB / 438.2 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.2959, allocations: 0 / 438.2 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001096/0.297, allocations: 357.6 kB / 438.6 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.579e-05/0.2971, allocations: 23.89 kB / 438.6 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.712e-05/0.2971, allocations: 4 kB / 438.6 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002609/0.2974, allocations: 39.95 kB / 438.6 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.504e-05/0.2975, allocations: 19.91 kB / 438.6 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-05/0.2975, allocations: 4 kB / 438.6 MB, free: 14.39 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002477/0.2977, allocations: 197.2 kB / 438.8 MB, free: 14.2 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2977, allocations: 0 / 438.8 MB, free: 14.2 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004641/0.2982, allocations: 67.89 kB / 438.9 MB, free: 14.14 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001526/0.2997, allocations: 0.9001 MB / 439.8 MB, free: 13.2 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001425/0.3011, allocations: 0.4994 MB / 440.3 MB, free: 12.67 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.3011, allocations: 0 / 440.3 MB, free: 12.67 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004965/0.3016, allocations: 218.6 kB / 440.5 MB, free: 12.45 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003725/0.302, allocations: 52.27 kB / 440.6 MB, free: 12.4 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007625/0.3096, allocations: 3.547 MB / 444.1 MB, free: 8.672 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001402/0.3098, allocations: 142.2 kB / 444.3 MB, free: 8.516 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001208/0.3099, allocations: 22.3 kB / 444.3 MB, free: 8.496 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001349/0.31, allocations: 75.41 kB / 444.3 MB, free: 8.426 MB / 350.1 MB Notification: Performance of SimCode: time 7.61e-07/0.31, allocations: 0 / 444.3 MB, free: 8.426 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03433/0.3444, allocations: 6.704 MB / 451.1 MB, free: 1.934 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.66/13, allocations: 18.56 kB / 451.1 MB, free: 1.922 MB / 350.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.334595916909166] Failed to read output from testmodel.py, exit status != 0: ['time', 'opAmp.out.v', 'opAmp.out.i'] 13.169195925933309 13.184398648 12.906372799 Calling exit ...