Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.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.001361/0.001361, allocations: 128.4 kB / 17.79 MB, free: 5.242 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.001478/0.001478, allocations: 210.5 kB / 20.75 MB, free: 2.293 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.521/1.521, allocations: 230.4 MB / 254 MB, free: 15.03 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.Analog.Examples.OpAmps.SchmittTrigger,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 63.89 kB / 373 MB, free: 10.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1111, allocations: 53.37 MB / 426.4 MB, free: 4.594 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.004325/0.1154, allocations: 2.814 MB / 429.2 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001388/0.1168, allocations: 0.6934 MB / 429.9 MB, free: 1.066 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001426/0.117, allocations: 7.938 kB / 429.9 MB, free: 1.059 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000161/0.1171, allocations: 43.58 kB / 430 MB, free: 1.016 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002211/0.1174, allocations: 99.19 kB / 430.1 MB, free: 0.918 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002726/0.1176, allocations: 83.89 kB / 430.1 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004135/0.118, allocations: 358.4 kB / 430.5 MB, free: 496 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001834/0.1182, allocations: 60.72 kB / 430.5 MB, free: 428 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001754/0.1184, allocations: 139.4 kB / 430.7 MB, free: 288 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001948/0.1186, allocations: 143.4 kB / 430.8 MB, free: 144 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.299e-05/0.1186, allocations: 32 kB / 430.9 MB, free: 112 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.756e-05/0.1187, allocations: 28 kB / 430.9 MB, free: 84 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.828e-05/0.1188, allocations: 75.69 kB / 431 MB, free: 8 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2554/0.3741, allocations: 143.8 kB / 431.1 MB, free: 7.922 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000666/0.3748, allocations: 333.3 kB / 431.4 MB, free: 7.891 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.3748, allocations: 0.8125 kB / 431.4 MB, free: 7.891 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.3748, allocations: 0 / 431.4 MB, free: 7.891 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.016e-05/0.3748, allocations: 1.031 kB / 431.4 MB, free: 7.891 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001572/0.3764, allocations: 0.6363 MB / 432.1 MB, free: 7.402 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/0.3764, allocations: 9.438 kB / 432.1 MB, free: 7.402 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.301e-05/0.3765, allocations: 56.41 kB / 432.1 MB, free: 7.363 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001148/0.3766, allocations: 33.72 kB / 432.2 MB, free: 7.348 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004436/0.3771, allocations: 285.4 kB / 432.4 MB, free: 7.121 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.62e-05/0.3771, allocations: 16.84 kB / 432.4 MB, free: 7.121 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.855e-05/0.3772, allocations: 23.28 kB / 432.5 MB, free: 7.121 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000763/0.3779, allocations: 246.4 kB / 432.7 MB, free: 7.078 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.3779, allocations: 0.75 kB / 432.7 MB, free: 7.078 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.049e-05/0.378, allocations: 9.469 kB / 432.7 MB, free: 7.078 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.619e-06/0.378, allocations: 5.562 kB / 432.7 MB, free: 7.078 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008996/0.3789, allocations: 220.2 kB / 432.9 MB, free: 7.078 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001943/0.3808, allocations: 0.9164 MB / 433.9 MB, free: 6.633 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009465/0.3818, allocations: 202.8 kB / 434.1 MB, free: 6.602 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003714/0.3821, allocations: 83.56 kB / 434.1 MB, free: 6.594 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.876e-05/0.3822, allocations: 4.906 kB / 434.1 MB, free: 6.594 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005684/0.3828, allocations: 181.5 kB / 434.3 MB, free: 6.512 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 2.304e-06/0.3828, allocations: 0 / 434.3 MB, free: 6.512 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.002747/0.3855, allocations: 0.5042 MB / 434.8 MB, free: 6.363 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.658e-05/0.3856, allocations: 132.9 kB / 435 MB, free: 6.207 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004283/0.386, allocations: 269.8 kB / 435.2 MB, free: 6.098 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.723e-05/0.386, allocations: 31.53 kB / 435.2 MB, free: 6.066 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001409/0.3862, allocations: 178.9 kB / 435.4 MB, free: 5.945 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.372e-05/0.3862, allocations: 51.58 kB / 435.5 MB, free: 5.914 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001325/0.3864, allocations: 43.8 kB / 435.5 MB, free: 5.898 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.041e-05/0.3864, allocations: 334.7 kB / 435.8 MB, free: 5.586 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004957/0.3869, allocations: 82.03 kB / 435.9 MB, free: 5.586 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005385/0.3875, allocations: 162.9 kB / 436.1 MB, free: 5.504 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009548/0.3884, allocations: 237.8 kB / 436.3 MB, free: 5.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.94e-06/0.3884, allocations: 4.594 kB / 436.3 MB, free: 5.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001637/0.3901, allocations: 369.7 kB / 436.7 MB, free: 5.316 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.759e-05/0.3901, allocations: 38.45 kB / 436.7 MB, free: 5.281 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/0.3901, allocations: 2.125 kB / 436.7 MB, free: 5.281 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006302/0.3908, allocations: 72.22 kB / 436.8 MB, free: 5.273 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003603/0.3911, allocations: 41.92 kB / 436.8 MB, free: 5.273 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003129/0.3943, allocations: 1.747 MB / 438.6 MB, free: 3.875 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005913/0.3948, allocations: 52.02 kB / 438.6 MB, free: 3.859 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.321e-05/0.3949, allocations: 10.95 kB / 438.6 MB, free: 3.859 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,opAmp.satNeg,opAmp.satPos,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * 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,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0002042/0.3951, allocations: 139.1 kB / 438.8 MB, free: 3.746 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.752e-05/0.3952, allocations: 28.08 kB / 438.8 MB, free: 3.73 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.553e-05/0.3952, allocations: 29.83 kB / 438.8 MB, free: 3.723 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.3952, allocations: 5.594 kB / 438.8 MB, free: 3.719 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.3952, allocations: 1.594 kB / 438.8 MB, free: 3.719 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.014e-06/0.3952, allocations: 1.266 kB / 438.8 MB, free: 3.719 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003926/0.3956, allocations: 297.8 kB / 439.1 MB, free: 3.527 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.3956, allocations: 1.547 kB / 439.1 MB, free: 3.527 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002483/0.3959, allocations: 29.59 kB / 439.2 MB, free: 3.527 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004927/0.3964, allocations: 69.48 kB / 439.2 MB, free: 3.52 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.258e-05/0.3964, allocations: 1.984 kB / 439.2 MB, free: 3.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002772/0.3992, allocations: 1.763 MB / 441 MB, free: 2.117 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.195e-06/0.3992, allocations: 0 / 441 MB, free: 2.117 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001485/0.4007, allocations: 304.1 kB / 441.3 MB, free: 2.023 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/0.4008, allocations: 106.1 kB / 441.4 MB, free: 1.914 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.044e-05/0.4008, allocations: 8.391 kB / 441.4 MB, free: 1.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004229/0.4013, allocations: 34.31 kB / 441.4 MB, free: 1.906 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001365/0.4014, allocations: 28.7 kB / 441.5 MB, free: 1.902 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.506e-05/0.4014, allocations: 4.016 kB / 441.5 MB, free: 1.902 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003349/0.4018, allocations: 189 kB / 441.7 MB, free: 1.789 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4018, allocations: 0 / 441.7 MB, free: 1.789 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006643/0.4024, allocations: 76.02 kB / 441.7 MB, free: 1.777 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: 5 ($whenCondition1,opAmp.satPos,opAmp.satNeg,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 (11): * Single equations (assignments): 8 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001686/0.4041, allocations: 0.8489 MB / 442.6 MB, free: 1.102 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001428/0.4055, allocations: 388.1 kB / 443 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.4055, allocations: 0 / 443 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006953/0.4062, allocations: 228.5 kB / 443.2 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005448/0.4068, allocations: 55.55 kB / 443.2 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009545/0.4163, allocations: 2.922 MB / 446.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005863/0.4169, allocations: 0.7514 MB / 446.9 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002036/0.4171, allocations: 24.83 kB / 446.9 MB, free: 14.2 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002099/0.4173, allocations: 78.62 kB / 447 MB, free: 14.14 MB / 366.1 MB Notification: Performance of SimCode: time 6.41e-07/0.4173, allocations: 0 / 447 MB, free: 14.14 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03836/0.4557, allocations: 6.674 MB / 453.7 MB, free: 12.82 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.13/12.59, allocations: 5.297 kB / 453.7 MB, free: 12.82 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.181874666945077] Failed to read output from testmodel.py, exit status != 0: ['time', 'opAmp.out.v', 'opAmp.out.i'] 12.681776263052598 12.701993435 12.323288683 Calling exit ...