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.001356/0.001356, allocations: 112.7 kB / 20.43 MB, free: 1.453 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.001419/0.001419, allocations: 214.7 kB / 23.74 MB, free: 4.66 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.392/1.392, allocations: 230.5 MB / 257.4 MB, free: 8.008 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.002023/0.002023, allocations: 71.88 kB / 377.8 MB, free: 3.059 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2574/0.2594, allocations: 53.41 MB / 431.2 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.MeasureRiseTime): time 0.00347/0.2629, allocations: 2.226 MB / 433.4 MB, free: 4.457 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004336/0.2634, allocations: 183.2 kB / 433.6 MB, free: 4.277 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00012/0.2635, allocations: 7.938 kB / 433.6 MB, free: 4.27 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001144/0.2636, allocations: 19.78 kB / 433.7 MB, free: 4.25 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001931/0.2638, allocations: 59.56 kB / 433.7 MB, free: 4.191 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001141/0.2639, allocations: 39.95 kB / 433.7 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002245/0.2641, allocations: 163.3 kB / 433.9 MB, free: 3.992 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000145/0.2643, allocations: 45.7 kB / 434 MB, free: 3.945 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001237/0.2644, allocations: 67.67 kB / 434 MB, free: 3.879 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001179/0.2645, allocations: 71.69 kB / 434.1 MB, free: 3.809 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.738e-05/0.2645, allocations: 12 kB / 434.1 MB, free: 3.797 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.809e-05/0.2646, allocations: 16 kB / 434.1 MB, free: 3.781 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.276e-05/0.2646, allocations: 39.78 kB / 434.2 MB, free: 3.742 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.604e-05/0.2647, allocations: 75.59 kB / 434.2 MB, free: 3.668 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002364/0.2649, allocations: 175.6 kB / 434.4 MB, free: 3.5 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.2649, allocations: 0 / 434.4 MB, free: 3.5 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.2649, allocations: 0 / 434.4 MB, free: 3.5 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.2649, allocations: 0 / 434.4 MB, free: 3.5 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.0006778/0.2656, allocations: 385.5 kB / 434.8 MB, free: 3.09 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.2657, allocations: 12.03 kB / 434.8 MB, free: 3.078 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.945e-05/0.2657, allocations: 46.73 kB / 434.8 MB, free: 3.023 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.04e-05/0.2658, allocations: 20.84 kB / 434.9 MB, free: 3.004 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002969/0.2661, allocations: 173 kB / 435 MB, free: 2.812 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/0.2661, allocations: 8.375 kB / 435 MB, free: 2.805 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.23e-05/0.2661, allocations: 16.38 kB / 435 MB, free: 2.789 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002903/0.2664, allocations: 138 kB / 435.2 MB, free: 2.648 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.2664, allocations: 3.938 kB / 435.2 MB, free: 2.645 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.828e-05/0.2664, allocations: 4 kB / 435.2 MB, free: 2.641 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.2664, allocations: 7.984 kB / 435.2 MB, free: 2.633 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002231/0.2667, allocations: 112.8 kB / 435.3 MB, free: 2.523 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009684/0.2676, allocations: 0.5559 MB / 435.9 MB, free: 1.91 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001963/0.2678, allocations: 90.67 kB / 436 MB, free: 1.812 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.991e-05/0.2679, allocations: 48.84 kB / 436 MB, free: 1.762 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.067e-05/0.2679, allocations: 3.984 kB / 436 MB, free: 1.758 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002191/0.2682, allocations: 113 kB / 436.1 MB, free: 1.629 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.313e-06/0.2682, allocations: 0 / 436.1 MB, free: 1.629 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.000377/0.2685, allocations: 169.1 kB / 436.3 MB, free: 1.461 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.996e-05/0.2686, allocations: 85.09 kB / 436.4 MB, free: 1.359 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001618/0.2688, allocations: 171.2 kB / 436.5 MB, free: 1.184 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/0.2688, allocations: 29.92 kB / 436.6 MB, free: 1.148 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.2689, allocations: 144.1 kB / 436.7 MB, free: 1.004 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.107e-05/0.2689, allocations: 55.5 kB / 436.8 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.04e-05/0.269, allocations: 45.94 kB / 436.8 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.2692, allocations: 338.9 kB / 437.1 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000141/0.2693, allocations: 40.22 kB / 437.2 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001919/0.2695, allocations: 154 kB / 437.3 MB, free: 328 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003457/0.2698, allocations: 208.6 kB / 437.5 MB, free: 72 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.2698, allocations: 0 / 437.5 MB, free: 72 kB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007324/0.2706, allocations: 298 kB / 437.8 MB, free: 15.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.2706, allocations: 10.66 kB / 437.8 MB, free: 15.76 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.2706, allocations: 4 kB / 437.8 MB, free: 15.76 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004788/0.2711, allocations: 97.06 kB / 437.9 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000166/0.2712, allocations: 43.86 kB / 438 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002556/0.2738, allocations: 1.609 MB / 439.6 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001613/0.274, allocations: 35.77 kB / 439.6 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.293e-05/0.274, allocations: 16.06 kB / 439.6 MB, free: 13.84 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.0001597/0.2741, allocations: 137.8 kB / 439.8 MB, free: 13.69 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.863e-05/0.2742, allocations: 19.84 kB / 439.8 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.063e-05/0.2742, allocations: 17.47 kB / 439.8 MB, free: 13.65 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.2742, allocations: 4 kB / 439.8 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.2742, allocations: 4 kB / 439.8 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.2742, allocations: 3.984 kB / 439.8 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006667/0.2749, allocations: 0.5148 MB / 440.3 MB, free: 13.06 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.2749, allocations: 0 / 440.3 MB, free: 13.06 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001146/0.275, allocations: 23.92 kB / 440.3 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.275, allocations: 4.094 kB / 440.4 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.275, allocations: 4 kB / 440.4 MB, free: 13.03 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.275, allocations: 0 / 440.4 MB, free: 13.03 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.275, allocations: 0 / 440.4 MB, free: 13.03 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003559/0.2754, allocations: 297.8 kB / 440.6 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.7e-05/0.2754, allocations: 19.95 kB / 440.7 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.327e-05/0.2754, allocations: 12 kB / 440.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001193/0.2755, allocations: 7.984 kB / 440.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.873e-05/0.2756, allocations: 19.92 kB / 440.7 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.287e-06/0.2756, allocations: 4 kB / 440.7 MB, free: 12.65 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.812e-05/0.2757, allocations: 127.5 kB / 440.8 MB, free: 12.53 MB / 350.1 MB Notification: Performance of sort global known variables: time 5e-08/0.2757, allocations: 0 / 440.8 MB, free: 12.53 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003196/0.276, allocations: 51.94 kB / 440.9 MB, free: 12.48 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.0006879/0.2767, allocations: 0.8126 MB / 441.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004725/0.2772, allocations: 258.6 kB / 441.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.2772, allocations: 0 / 441.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001148/0.2773, allocations: 48.78 kB / 442 MB, free: 11.32 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002955/0.2776, allocations: 31.62 kB / 442 MB, free: 11.29 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003606/0.2812, allocations: 2.388 MB / 444.4 MB, free: 8.719 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003294/0.2815, allocations: 0.7279 MB / 445.1 MB, free: 7.965 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.074e-05/0.2816, allocations: 17.64 kB / 445.2 MB, free: 7.949 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.008e-05/0.2817, allocations: 51.41 kB / 445.2 MB, free: 7.898 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.2817, allocations: 0 / 445.2 MB, free: 7.898 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03342/0.3151, allocations: 3.865 MB / 449.1 MB, free: 4.148 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.08/12.39, allocations: 4 kB / 449.1 MB, free: 4.145 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.532674989000952] Failed to read output from testmodel.py, exit status != 0: 12.507043487999908 12.528593739 12.259241449 Calling exit ...