Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009124/0.0009124, allocations: 83.69 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 170 kB / 23.95 MB, free: 0.6172 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8681/0.8681, allocations: 177.1 MB / 204.3 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger,fileNamePrefix="Modelica_4_1_0_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_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 324.6 MB, free: 15.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.308e-05/1.446e-05, allocations: 7.766 kB / 324.6 MB, free: 15.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.00251/0.002525, allocations: 2.613 MB / 327.2 MB, free: 13.27 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001122/0.003647, allocations: 0.6933 MB / 327.9 MB, free: 12.57 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001725/0.003819, allocations: 7.938 kB / 327.9 MB, free: 12.56 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001511/0.00397, allocations: 43.58 kB / 328 MB, free: 12.52 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001843/0.004155, allocations: 99.12 kB / 328.1 MB, free: 12.42 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002671/0.004422, allocations: 95.84 kB / 328.2 MB, free: 12.33 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003179/0.00474, allocations: 366.4 kB / 328.5 MB, free: 11.97 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001416/0.004881, allocations: 60.75 kB / 328.6 MB, free: 11.91 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002037/0.005085, allocations: 199.5 kB / 328.8 MB, free: 11.71 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001119/0.005197, allocations: 107.7 kB / 328.9 MB, free: 11.61 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.54e-05/0.005232, allocations: 28 kB / 328.9 MB, free: 11.58 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.844e-05/0.005261, allocations: 32 kB / 328.9 MB, free: 11.55 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.246e-05/0.005303, allocations: 63.69 kB / 329 MB, free: 11.49 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.736e-05/0.005381, allocations: 107.8 kB / 329.1 MB, free: 11.38 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002737/0.005654, allocations: 338.9 kB / 329.4 MB, free: 11.05 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.005657, allocations: 0 / 329.4 MB, free: 11.05 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.005658, allocations: 0 / 329.4 MB, free: 11.05 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.87e-06/0.005663, allocations: 0 / 329.4 MB, free: 11.05 MB / 298.7 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.0008721/0.006535, allocations: 0.577 MB / 330 MB, free: 10.44 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.006574, allocations: 8.031 kB / 330 MB, free: 10.43 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.298e-05/0.006617, allocations: 58.67 kB / 330.1 MB, free: 10.37 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.817e-05/0.006665, allocations: 36.67 kB / 330.1 MB, free: 10.33 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002493/0.006914, allocations: 225.2 kB / 330.3 MB, free: 10.09 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.006927, allocations: 12.88 kB / 330.3 MB, free: 10.07 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.369e-05/0.006951, allocations: 28.38 kB / 330.4 MB, free: 10.05 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000375/0.007326, allocations: 322.7 kB / 330.7 MB, free: 9.703 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.007334, allocations: 192 / 330.7 MB, free: 9.703 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.877e-05/0.007353, allocations: 12.12 kB / 330.7 MB, free: 9.691 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.007358, allocations: 4 kB / 330.7 MB, free: 9.688 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003712/0.007729, allocations: 249.8 kB / 330.9 MB, free: 9.445 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001047/0.008776, allocations: 0.8481 MB / 331.8 MB, free: 8.531 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004376/0.009214, allocations: 230.5 kB / 332 MB, free: 8.297 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001592/0.009373, allocations: 100.8 kB / 332.1 MB, free: 8.195 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/0.009391, allocations: 4 kB / 332.1 MB, free: 8.191 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002721/0.009663, allocations: 221.3 kB / 332.3 MB, free: 7.941 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 9.72e-07/0.009664, allocations: 0 / 332.3 MB, free: 7.941 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.001117/0.01078, allocations: 0.5832 MB / 332.9 MB, free: 7.352 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.109e-05/0.01083, allocations: 110.8 kB / 333 MB, free: 7.219 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001829/0.01102, allocations: 269.9 kB / 333.3 MB, free: 6.945 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.01103, allocations: 29.7 kB / 333.3 MB, free: 6.91 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.394e-05/0.01112, allocations: 184 kB / 333.5 MB, free: 6.727 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.769e-05/0.01114, allocations: 43.64 kB / 333.5 MB, free: 6.684 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.579e-05/0.0112, allocations: 49.7 kB / 333.6 MB, free: 6.629 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.398e-05/0.01128, allocations: 335 kB / 333.9 MB, free: 6.293 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001843/0.01147, allocations: 133.5 kB / 334.1 MB, free: 6.156 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002216/0.01169, allocations: 271.2 kB / 334.3 MB, free: 5.836 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003422/0.01203, allocations: 284.9 kB / 334.6 MB, free: 5.523 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.01204, allocations: 4 kB / 334.6 MB, free: 5.52 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0008914/0.01293, allocations: 469.5 kB / 335.1 MB, free: 5.039 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.791e-05/0.01296, allocations: 33.64 kB / 335.1 MB, free: 5 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.01296, allocations: 7.984 kB / 335.1 MB, free: 4.992 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000231/0.01319, allocations: 80.86 kB / 335.2 MB, free: 4.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.0133, allocations: 43.91 kB / 335.2 MB, free: 4.867 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001577/0.01487, allocations: 1.887 MB / 337.1 MB, free: 2.859 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000162/0.01504, allocations: 63.8 kB / 337.2 MB, free: 2.797 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.438e-05/0.01505, allocations: 12 kB / 337.2 MB, free: 2.785 MB / 298.7 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 9.572e-05/0.01515, allocations: 133.8 kB / 337.3 MB, free: 2.645 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.247e-05/0.01517, allocations: 23.86 kB / 337.3 MB, free: 2.621 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.548e-05/0.01519, allocations: 25.77 kB / 337.4 MB, free: 2.598 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.52e-07/0.01519, allocations: 4 kB / 337.4 MB, free: 2.594 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.0152, allocations: 3.938 kB / 337.4 MB, free: 2.59 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.0152, allocations: 4 kB / 337.4 MB, free: 2.586 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001494/0.01535, allocations: 236.6 kB / 337.6 MB, free: 2.312 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.01535, allocations: 0 / 337.6 MB, free: 2.312 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.538e-05/0.01542, allocations: 23.97 kB / 337.6 MB, free: 2.289 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001429/0.01556, allocations: 80.73 kB / 337.7 MB, free: 2.207 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.01557, allocations: 4 kB / 337.7 MB, free: 2.203 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001223/0.01679, allocations: 1.808 MB / 339.5 MB, free: 288 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.01679, allocations: 0 / 339.5 MB, free: 288 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000514/0.01731, allocations: 357.7 kB / 339.9 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.767e-05/0.01734, allocations: 27.72 kB / 339.9 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.982e-05/0.01736, allocations: 8 kB / 339.9 MB, free: 15.87 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/0.01747, allocations: 35.89 kB / 339.9 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.57e-05/0.01753, allocations: 28 kB / 340 MB, free: 15.81 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.398e-06/0.01753, allocations: 4 kB / 340 MB, free: 15.8 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001267/0.01766, allocations: 193.2 kB / 340.2 MB, free: 15.62 MB / 314.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01766, allocations: 0 / 340.2 MB, free: 15.62 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000263/0.01792, allocations: 67.95 kB / 340.2 MB, free: 15.55 MB / 314.7 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.000785/0.01871, allocations: 0.8979 MB / 341.1 MB, free: 14.62 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007293/0.01944, allocations: 0.4916 MB / 341.6 MB, free: 14.1 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01944, allocations: 0 / 341.6 MB, free: 14.1 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002491/0.01969, allocations: 227 kB / 341.8 MB, free: 13.86 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005785/0.02027, allocations: 44.41 kB / 341.9 MB, free: 13.82 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00465/0.02492, allocations: 3.548 MB / 345.4 MB, free: 10.1 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000112/0.02503, allocations: 138.2 kB / 345.6 MB, free: 9.941 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001457/0.02518, allocations: 26.28 kB / 345.6 MB, free: 9.918 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001222/0.0253, allocations: 76.47 kB / 345.7 MB, free: 9.844 MB / 314.7 MB Notification: Performance of SimCode: time 2.474e-06/0.0253, allocations: 0 / 345.7 MB, free: 9.844 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0225/0.0478, allocations: 7.237 MB / 352.9 MB, free: 2.793 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.592/7.639, allocations: 5.672 kB / 352.9 MB, free: 2.789 MB / 314.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.267670150846243] Failed to read output from testmodel.py, exit status != 0: ['time', 'opAmp.out.v', 'opAmp.out.i'] 7.734510485082865 7.746345812 7.738655283 Calling exit ...