Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.MeasureRiseTime.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.001788/0.001788, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002265/0.002265, allocations: 203.7 kB / 23.72 MB, free: 4.391 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.48/1.48, allocations: 230.5 MB / 257.4 MB, free: 7.75 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.MeasureRiseTime,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_MeasureRiseTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.MeasureRiseTime,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_MeasureRiseTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 67.89 kB / 377.8 MB, free: 2.766 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2644/0.2663, allocations: 53.4 MB / 431.2 MB, free: 6.418 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.MeasureRiseTime): time 0.004681/0.271, allocations: 2.125 MB / 433.3 MB, free: 4.285 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005807/0.2716, allocations: 171.4 kB / 433.5 MB, free: 4.117 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001512/0.2717, allocations: 7.938 kB / 433.5 MB, free: 4.109 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001434/0.2719, allocations: 23.72 kB / 433.5 MB, free: 4.086 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002636/0.2721, allocations: 51.62 kB / 433.5 MB, free: 4.035 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001567/0.2723, allocations: 39.89 kB / 433.6 MB, free: 3.996 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003179/0.2726, allocations: 179.2 kB / 433.8 MB, free: 3.82 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001785/0.2728, allocations: 35.42 kB / 433.8 MB, free: 3.785 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001582/0.273, allocations: 63.78 kB / 433.9 MB, free: 3.723 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001594/0.2731, allocations: 75.55 kB / 433.9 MB, free: 3.648 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.464e-05/0.2732, allocations: 12 kB / 433.9 MB, free: 3.637 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.611e-05/0.2732, allocations: 16 kB / 434 MB, free: 3.621 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.541e-05/0.2733, allocations: 27.92 kB / 434 MB, free: 3.594 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001063/0.2734, allocations: 59.61 kB / 434 MB, free: 3.535 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003124/0.2737, allocations: 171.2 kB / 434.2 MB, free: 3.367 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.2737, allocations: 0 / 434.2 MB, free: 3.367 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.2737, allocations: 4 kB / 434.2 MB, free: 3.363 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.2737, allocations: 0 / 434.2 MB, free: 3.363 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: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.000845/0.2745, allocations: 385.5 kB / 434.6 MB, free: 2.953 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.2746, allocations: 15.92 kB / 434.6 MB, free: 2.938 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.262e-05/0.2747, allocations: 46.73 kB / 434.7 MB, free: 2.883 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.92e-05/0.2747, allocations: 24.84 kB / 434.7 MB, free: 2.859 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003879/0.2751, allocations: 165 kB / 434.8 MB, free: 2.676 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.664e-05/0.2751, allocations: 16.38 kB / 434.9 MB, free: 2.66 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.704e-05/0.2752, allocations: 12.38 kB / 434.9 MB, free: 2.648 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000415/0.2756, allocations: 163.8 kB / 435 MB, free: 2.477 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.783e-05/0.2756, allocations: 3.938 kB / 435 MB, free: 2.473 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.248e-05/0.2756, allocations: 8 kB / 435 MB, free: 2.465 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.2757, allocations: 4 kB / 435 MB, free: 2.461 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003242/0.276, allocations: 108.8 kB / 435.1 MB, free: 2.355 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001241/0.2772, allocations: 0.5248 MB / 435.7 MB, free: 1.773 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002652/0.2775, allocations: 94.59 kB / 435.8 MB, free: 1.672 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001344/0.2776, allocations: 44.84 kB / 435.8 MB, free: 1.625 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.429e-05/0.2776, allocations: 0 / 435.8 MB, free: 1.625 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003131/0.278, allocations: 141.9 kB / 435.9 MB, free: 1.465 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.823e-06/0.278, allocations: 3.938 kB / 436 MB, free: 1.461 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005315/0.2785, allocations: 165.5 kB / 436.1 MB, free: 1.293 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.119e-05/0.2786, allocations: 81.11 kB / 436.2 MB, free: 1.195 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002407/0.2788, allocations: 186.3 kB / 436.4 MB, free: 1.004 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.998e-05/0.2788, allocations: 29.7 kB / 436.4 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001392/0.279, allocations: 148.1 kB / 436.5 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.288e-05/0.279, allocations: 43.69 kB / 436.6 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.2791, allocations: 49.89 kB / 436.6 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001848/0.2793, allocations: 330.8 kB / 437 MB, free: 396 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000147/0.2795, allocations: 48.27 kB / 437 MB, free: 348 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002318/0.2797, allocations: 146.3 kB / 437.2 MB, free: 156 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004891/0.2802, allocations: 216.5 kB / 437.4 MB, free: 15.89 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/0.2802, allocations: 4 kB / 437.4 MB, free: 15.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001069/0.2813, allocations: 302 kB / 437.7 MB, free: 15.59 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.2813, allocations: 8.375 kB / 437.7 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.2813, allocations: 8 kB / 437.7 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006776/0.282, allocations: 92.75 kB / 437.8 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002384/0.2822, allocations: 43.92 kB / 437.8 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003353/0.2856, allocations: 1.597 MB / 439.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002183/0.2858, allocations: 31.83 kB / 439.4 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.146e-05/0.2858, allocations: 8 kB / 439.4 MB, free: 13.68 MB / 350.1 MB Warning: Assuming fixed start value for the following 2 variables: t10:DISCRETE(start = 0.0 unit = \"s\" fixed = true ) \"Time when output reaches 10% Vin\" type: Real t90:DISCRETE(start = 0.0 unit = \"s\" fixed = true ) \"Time when output reaches 90% Vin\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.t10,$PRE.t90,t90,t10,opAmp.satNeg,opAmp.satPos,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001947/0.286, allocations: 146.6 kB / 439.6 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.126e-05/0.286, allocations: 19.84 kB / 439.6 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.401e-05/0.2861, allocations: 25.39 kB / 439.6 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.2861, allocations: 4 kB / 439.6 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.2861, allocations: 0 / 439.6 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.2861, allocations: 0 / 439.6 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008661/0.287, allocations: 0.5072 MB / 440.1 MB, free: 12.9 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.287, allocations: 4.141 kB / 440.2 MB, free: 12.9 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001572/0.2871, allocations: 24.08 kB / 440.2 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.844e-06/0.2871, allocations: 7.984 kB / 440.2 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/0.2871, allocations: 0 / 440.2 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.2872, allocations: 0 / 440.2 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.2872, allocations: 4 kB / 440.2 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005224/0.2877, allocations: 293.8 kB / 440.5 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.08e-05/0.2877, allocations: 19.84 kB / 440.5 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.564e-05/0.2878, allocations: 15.92 kB / 440.5 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001939/0.2879, allocations: 8.062 kB / 440.5 MB, free: 12.51 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.777e-05/0.288, allocations: 23.91 kB / 440.5 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.57e-05/0.288, allocations: 4 kB / 440.5 MB, free: 12.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001595/0.2882, allocations: 128.3 kB / 440.7 MB, free: 12.36 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2882, allocations: 0 / 440.7 MB, free: 12.36 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005727/0.2888, allocations: 40 kB / 440.7 MB, free: 12.32 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (opAmp.v_int) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,t10,t90,opAmp.satPos,opAmp.satNeg) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009692/0.2897, allocations: 0.816 MB / 441.5 MB, free: 11.47 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006532/0.2904, allocations: 262.7 kB / 441.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.2904, allocations: 0 / 441.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001587/0.2906, allocations: 44.14 kB / 441.8 MB, free: 11.16 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004963/0.2911, allocations: 29.08 kB / 441.9 MB, free: 11.13 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004018/0.2951, allocations: 2.399 MB / 444.3 MB, free: 8.547 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001121/0.2952, allocations: 111.4 kB / 444.4 MB, free: 8.414 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.453e-05/0.2953, allocations: 13.64 kB / 444.4 MB, free: 8.402 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.088e-05/0.2953, allocations: 47.42 kB / 444.4 MB, free: 8.355 MB / 350.1 MB Notification: Performance of SimCode: time 8.92e-07/0.2953, allocations: 4 kB / 444.4 MB, free: 8.352 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03236/0.3277, allocations: 4.165 MB / 448.6 MB, free: 4.305 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.38/12.71, allocations: 6.672 kB / 448.6 MB, free: 4.305 MB / 350.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.MeasureRiseTime.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.MeasureRiseTime.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.MeasureRiseTime.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.MeasureRiseTime.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.MeasureRiseTime_res.csv --start-time 0 --stop-time 0.005 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1e-07 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_MeasureRiseTime.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.MeasureRiseTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.892766047734767] Failed to read output from testmodel.py, exit status != 0: 12.825734762009233 12.84937471 12.570529909 Calling exit ...