Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.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.001355/0.001355, allocations: 122.5 kB / 18.51 MB, free: 4.52 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.001677/0.001677, allocations: 215.2 kB / 21.46 MB, free: 1.566 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.43/1.43, allocations: 230.5 MB / 254.8 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] 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.Analog.Examples.OpAmps.InvertingSchmittTrigger,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger",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.002168/0.002168, allocations: 75.75 kB / 373.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1042, allocations: 53.32 MB / 427 MB, free: 4.746 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.004354/0.1086, allocations: 2.781 MB / 429.8 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001457/0.11, allocations: 0.7128 MB / 430.5 MB, free: 1.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002281/0.1103, allocations: 4 kB / 430.5 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001957/0.1105, allocations: 43.56 kB / 430.6 MB, free: 1.184 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002852/0.1107, allocations: 99.19 kB / 430.7 MB, free: 1.086 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000339/0.1111, allocations: 91.83 kB / 430.8 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005466/0.1116, allocations: 358.5 kB / 431.1 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002064/0.1118, allocations: 64.69 kB / 431.2 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000278/0.1121, allocations: 139.4 kB / 431.3 MB, free: 448 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002443/0.1124, allocations: 151.3 kB / 431.5 MB, free: 296 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.338e-05/0.1124, allocations: 28 kB / 431.5 MB, free: 268 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.37e-05/0.1125, allocations: 32 kB / 431.5 MB, free: 236 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.89e-05/0.1125, allocations: 63.75 kB / 431.6 MB, free: 172 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001649/0.1127, allocations: 143.3 kB / 431.7 MB, free: 28 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1843/0.297, allocations: 323.5 kB / 432.1 MB, free: 8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.297, allocations: 0 / 432.1 MB, free: 8 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.096e-06/0.297, allocations: 1.812 kB / 432.1 MB, free: 8 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.527e-05/0.297, allocations: 0 / 432.1 MB, free: 8 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001537/0.2985, allocations: 0.6516 MB / 432.7 MB, free: 7.516 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.2986, allocations: 9.688 kB / 432.7 MB, free: 7.516 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.946e-05/0.2987, allocations: 51.91 kB / 432.8 MB, free: 7.477 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001135/0.2988, allocations: 34.64 kB / 432.8 MB, free: 7.461 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004881/0.2993, allocations: 282.3 kB / 433.1 MB, free: 7.238 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.966e-05/0.2993, allocations: 13.16 kB / 433.1 MB, free: 7.238 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.348e-05/0.2993, allocations: 23.25 kB / 433.1 MB, free: 7.238 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006784/0.3, allocations: 281.2 kB / 433.4 MB, free: 7.184 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.3, allocations: 0 / 433.4 MB, free: 7.184 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.974e-05/0.3001, allocations: 10.47 kB / 433.4 MB, free: 7.184 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/0.3001, allocations: 5.781 kB / 433.4 MB, free: 7.184 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007533/0.3008, allocations: 241.1 kB / 433.6 MB, free: 7.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001449/0.3023, allocations: 0.9473 MB / 434.6 MB, free: 6.695 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007822/0.3031, allocations: 235.1 kB / 434.8 MB, free: 6.672 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003128/0.3034, allocations: 99.41 kB / 434.9 MB, free: 6.664 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.47e-05/0.3034, allocations: 1.562 kB / 434.9 MB, free: 6.664 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004658/0.3039, allocations: 182.7 kB / 435.1 MB, free: 6.586 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.463e-06/0.3039, allocations: 0 / 435.1 MB, free: 6.586 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002356/0.3062, allocations: 0.6504 MB / 435.7 MB, free: 6.426 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.52e-05/0.3063, allocations: 105.8 kB / 435.8 MB, free: 6.301 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002862/0.3065, allocations: 276.1 kB / 436.1 MB, free: 6.191 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/0.3066, allocations: 28.05 kB / 436.1 MB, free: 6.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.066e-05/0.3067, allocations: 178.8 kB / 436.3 MB, free: 6.039 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.451e-05/0.3067, allocations: 45.17 kB / 436.4 MB, free: 6.012 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.626e-05/0.3068, allocations: 49.39 kB / 436.4 MB, free: 5.992 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.499e-05/0.3068, allocations: 338.9 kB / 436.7 MB, free: 5.676 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003506/0.3072, allocations: 107.2 kB / 436.8 MB, free: 5.672 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003856/0.3076, allocations: 180.5 kB / 437 MB, free: 5.574 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006681/0.3082, allocations: 286.1 kB / 437.3 MB, free: 5.457 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.616e-06/0.3083, allocations: 1.25 kB / 437.3 MB, free: 5.457 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001246/0.3095, allocations: 449.4 kB / 437.7 MB, free: 5.359 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.812e-05/0.3095, allocations: 35.78 kB / 437.8 MB, free: 5.328 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.3095, allocations: 2.875 kB / 437.8 MB, free: 5.328 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003994/0.3099, allocations: 82.34 kB / 437.9 MB, free: 5.316 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002149/0.3102, allocations: 43.25 kB / 437.9 MB, free: 5.316 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002633/0.3128, allocations: 2.004 MB / 439.9 MB, free: 3.793 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003778/0.3132, allocations: 47.36 kB / 439.9 MB, free: 3.785 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.427e-05/0.3132, allocations: 15.75 kB / 440 MB, free: 3.785 MB / 350.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.0001378/0.3133, allocations: 140.2 kB / 440.1 MB, free: 3.668 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.983e-05/0.3134, allocations: 23.27 kB / 440.1 MB, free: 3.656 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.854e-05/0.3134, allocations: 30.38 kB / 440.2 MB, free: 3.648 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.3134, allocations: 4.719 kB / 440.2 MB, free: 3.648 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.3134, allocations: 1.094 kB / 440.2 MB, free: 3.648 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.3134, allocations: 6.891 kB / 440.2 MB, free: 3.648 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002395/0.3137, allocations: 297.6 kB / 440.5 MB, free: 3.453 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.3137, allocations: 0.7969 kB / 440.5 MB, free: 3.453 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001359/0.3138, allocations: 25.39 kB / 440.5 MB, free: 3.449 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000275/0.3141, allocations: 72.66 kB / 440.6 MB, free: 3.441 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.735e-05/0.3141, allocations: 11 kB / 440.6 MB, free: 3.438 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002053/0.3162, allocations: 1.913 MB / 442.5 MB, free: 1.93 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.3162, allocations: 5.5 kB / 442.5 MB, free: 1.926 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001076/0.3172, allocations: 361.4 kB / 442.8 MB, free: 1.828 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.647e-05/0.3173, allocations: 103.2 kB / 442.9 MB, free: 1.719 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.464e-05/0.3173, allocations: 4.219 kB / 442.9 MB, free: 1.719 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002446/0.3176, allocations: 34.48 kB / 443 MB, free: 1.719 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.03e-05/0.3176, allocations: 17.42 kB / 443 MB, free: 1.719 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.454e-05/0.3177, allocations: 7.328 kB / 443 MB, free: 1.719 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001727/0.3178, allocations: 197.6 kB / 443.2 MB, free: 1.637 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3178, allocations: 1.094 kB / 443.2 MB, free: 1.637 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004102/0.3182, allocations: 75.48 kB / 443.3 MB, free: 1.629 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.001234/0.3195, allocations: 0.9007 MB / 444.2 MB, free: 1.008 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001281/0.3208, allocations: 474 kB / 444.6 MB, free: 0.793 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3208, allocations: 0.5 kB / 444.6 MB, free: 0.793 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004938/0.3212, allocations: 230.9 kB / 444.9 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003353/0.3216, allocations: 50.33 kB / 444.9 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007352/0.3289, allocations: 3.427 MB / 448.3 MB, free: 14.78 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003929/0.3293, allocations: 0.7527 MB / 449.1 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001387/0.3295, allocations: 28.02 kB / 449.1 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001416/0.3296, allocations: 73.94 kB / 449.2 MB, free: 14.01 MB / 366.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3296, allocations: 2.719 kB / 449.2 MB, free: 14.01 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03516/0.3648, allocations: 6.42 MB / 455.6 MB, free: 12.54 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.87, allocations: 4.406 kB / 455.6 MB, free: 12.54 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.345692591741681] Failed to read output from testmodel.py, exit status != 0: ['time', 'opAmp.out.v', 'opAmp.out.i'] 11.96952316025272 11.982805596 11.683065221 Calling exit ...