Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.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.001639/0.001639, allocations: 101.5 kB / 21.21 MB, free: 0.6523 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.002028/0.002028, allocations: 186.8 kB / 24.49 MB, free: 3.961 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.406/1.406, allocations: 225.7 MB / 253.3 MB, free: 12.87 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.SchmittTrigger,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001668/0.001668, allocations: 47.92 kB / 371.2 MB, free: 9.699 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2793/0.281, allocations: 52.18 MB / 423.4 MB, free: 14.44 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.004815/0.2858, allocations: 2.584 MB / 426 MB, free: 11.84 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001398/0.2872, allocations: 0.6505 MB / 426.6 MB, free: 11.19 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001658/0.2874, allocations: 3.938 kB / 426.6 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001644/0.2875, allocations: 43.58 kB / 426.7 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002237/0.2877, allocations: 95.25 kB / 426.8 MB, free: 11.05 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003333/0.2881, allocations: 95.81 kB / 426.9 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004587/0.2885, allocations: 362.5 kB / 427.2 MB, free: 10.6 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001825/0.2887, allocations: 56.91 kB / 427.3 MB, free: 10.54 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001904/0.2889, allocations: 139.4 kB / 427.4 MB, free: 10.4 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000217/0.2891, allocations: 143.4 kB / 427.5 MB, free: 10.26 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.465e-05/0.2892, allocations: 28 kB / 427.6 MB, free: 10.23 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.498e-05/0.2892, allocations: 28 kB / 427.6 MB, free: 10.21 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.678e-05/0.2893, allocations: 71.69 kB / 427.7 MB, free: 10.14 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001698/0.2895, allocations: 127.4 kB / 427.8 MB, free: 10.01 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004216/0.2899, allocations: 325 kB / 428.1 MB, free: 9.695 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.2899, allocations: 4 kB / 428.1 MB, free: 9.691 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.2899, allocations: 0 / 428.1 MB, free: 9.691 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.745e-06/0.2899, allocations: 0 / 428.1 MB, free: 9.691 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.001281/0.2912, allocations: 0.5703 MB / 428.7 MB, free: 9.086 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.2913, allocations: 8.031 kB / 428.7 MB, free: 9.078 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.765e-05/0.2913, allocations: 4.625 kB / 428.7 MB, free: 9.074 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.052e-05/0.2913, allocations: 54.73 kB / 428.8 MB, free: 9.012 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.243e-05/0.2914, allocations: 32.75 kB / 428.8 MB, free: 8.98 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004186/0.2918, allocations: 229.8 kB / 429 MB, free: 8.73 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.341e-05/0.2919, allocations: 24.81 kB / 429 MB, free: 8.707 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.797e-05/0.2919, allocations: 16.38 kB / 429 MB, free: 8.691 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006888/0.2926, allocations: 329.1 kB / 429.4 MB, free: 8.344 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.2926, allocations: 0 / 429.4 MB, free: 8.344 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.92e-05/0.2926, allocations: 11.98 kB / 429.4 MB, free: 8.332 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.809e-06/0.2926, allocations: 8 kB / 429.4 MB, free: 8.324 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007357/0.2934, allocations: 245.5 kB / 429.6 MB, free: 8.082 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001556/0.2949, allocations: 0.8473 MB / 430.5 MB, free: 7.172 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008223/0.2958, allocations: 226.5 kB / 430.7 MB, free: 6.941 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003273/0.2961, allocations: 104.9 kB / 430.8 MB, free: 6.836 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.221e-05/0.2961, allocations: 3.938 kB / 430.8 MB, free: 6.832 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004976/0.2966, allocations: 233.2 kB / 431 MB, free: 6.57 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.623e-06/0.2966, allocations: 0 / 431 MB, free: 6.57 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.002223/0.2988, allocations: 0.575 MB / 431.6 MB, free: 5.988 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.389e-05/0.2989, allocations: 106.8 kB / 431.7 MB, free: 5.859 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002991/0.2992, allocations: 265.8 kB / 432 MB, free: 5.586 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.939e-05/0.2992, allocations: 29.7 kB / 432 MB, free: 5.551 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001479/0.2994, allocations: 188.1 kB / 432.2 MB, free: 5.363 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.246e-05/0.2994, allocations: 43.58 kB / 432.2 MB, free: 5.32 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.691e-05/0.2995, allocations: 41.72 kB / 432.3 MB, free: 5.273 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001723/0.2997, allocations: 334.8 kB / 432.6 MB, free: 4.938 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003564/0.3001, allocations: 129.5 kB / 432.7 MB, free: 4.805 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000422/0.3005, allocations: 253.1 kB / 433 MB, free: 4.512 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006518/0.3011, allocations: 264.4 kB / 433.2 MB, free: 4.223 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.359e-06/0.3011, allocations: 4 kB / 433.2 MB, free: 4.219 MB / 334.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001181/0.3023, allocations: 461.4 kB / 433.7 MB, free: 3.746 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.388e-05/0.3024, allocations: 37.7 kB / 433.7 MB, free: 3.703 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.3024, allocations: 0 / 433.7 MB, free: 3.703 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003749/0.3027, allocations: 76.86 kB / 433.8 MB, free: 3.625 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001862/0.3029, allocations: 43.91 kB / 433.8 MB, free: 3.582 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002726/0.3057, allocations: 1.839 MB / 435.7 MB, free: 1.625 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003088/0.306, allocations: 47.81 kB / 435.7 MB, free: 1.578 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.341e-05/0.306, allocations: 8 kB / 435.7 MB, free: 1.57 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (19): * Single equations (assignments): 17 * 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.0001719/0.3062, allocations: 145.2 kB / 435.9 MB, free: 1.422 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.194e-05/0.3062, allocations: 27.8 kB / 435.9 MB, free: 1.395 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.199e-05/0.3063, allocations: 33.83 kB / 435.9 MB, free: 1.359 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.3063, allocations: 0 / 435.9 MB, free: 1.359 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.686e-06/0.3063, allocations: 4.125 kB / 435.9 MB, free: 1.355 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.3063, allocations: 0 / 435.9 MB, free: 1.355 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002693/0.3065, allocations: 240.6 kB / 436.2 MB, free: 1.078 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3065, allocations: 0 / 436.2 MB, free: 1.078 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001324/0.3067, allocations: 19.98 kB / 436.2 MB, free: 1.059 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002633/0.3069, allocations: 76.73 kB / 436.3 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.984e-05/0.307, allocations: 11.94 kB / 436.3 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002253/0.3092, allocations: 1.636 MB / 437.9 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.3092, allocations: 8.094 kB / 437.9 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001013/0.3102, allocations: 353.5 kB / 438.3 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.873e-05/0.3103, allocations: 35.72 kB / 438.3 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.551e-05/0.3103, allocations: 4 kB / 438.3 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002326/0.3105, allocations: 35.95 kB / 438.3 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.268e-05/0.3106, allocations: 19.97 kB / 438.4 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.512e-05/0.3106, allocations: 8 kB / 438.4 MB, free: 14.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001912/0.3108, allocations: 189.2 kB / 438.6 MB, free: 14.56 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3108, allocations: 0 / 438.6 MB, free: 14.56 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003519/0.3112, allocations: 71.89 kB / 438.6 MB, free: 14.49 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.001385/0.3126, allocations: 0.8901 MB / 439.5 MB, free: 13.57 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009989/0.3136, allocations: 431.7 kB / 439.9 MB, free: 13.11 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3136, allocations: 0 / 439.9 MB, free: 13.11 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004676/0.314, allocations: 233.1 kB / 440.2 MB, free: 12.88 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003391/0.3144, allocations: 51.38 kB / 440.2 MB, free: 12.83 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005225/0.3196, allocations: 3.039 MB / 443.2 MB, free: 9.625 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000133/0.3197, allocations: 146.1 kB / 443.4 MB, free: 9.465 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.692e-05/0.3198, allocations: 18.3 kB / 443.4 MB, free: 9.449 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001351/0.32, allocations: 75.41 kB / 443.5 MB, free: 9.375 MB / 350.1 MB Notification: Performance of SimCode: time 5.61e-07/0.32, allocations: 0 / 443.5 MB, free: 9.375 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03262/0.3526, allocations: 6.663 MB / 450.1 MB, free: 2.926 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.58/12.94, allocations: 11.48 kB / 450.2 MB, free: 2.918 MB / 350.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.30086613399908] Failed to read output from testmodel.py, exit status != 0: ['time', 'opAmp.out.v', 'opAmp.out.i'] 13.106383722042665 13.121223141 12.828191336 Calling exit ...