Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.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.001382/0.001382, allocations: 105.1 kB / 21.22 MB, free: 0.6289 MB / 14.72 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.00158/0.00158, allocations: 216.8 kB / 24.52 MB, free: 3.91 MB / 14.72 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 1.405/1.405, allocations: 230.6 MB / 258.3 MB, free: 7.762 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+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.Multivibrator,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001467/0.001467, allocations: 47.94 kB / 378.5 MB, free: 2.934 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.256/0.2575, allocations: 53.37 MB / 431.9 MB, free: 6.625 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.003853/0.2614, allocations: 2.455 MB / 434.4 MB, free: 4.168 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001342/0.2627, allocations: 0.6584 MB / 435 MB, free: 3.504 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001542/0.2629, allocations: 8 kB / 435 MB, free: 3.496 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001504/0.263, allocations: 39.58 kB / 435.1 MB, free: 3.457 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002574/0.2633, allocations: 87.25 kB / 435.1 MB, free: 3.371 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001788/0.2634, allocations: 83.84 kB / 435.2 MB, free: 3.289 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003454/0.2638, allocations: 314.6 kB / 435.5 MB, free: 2.98 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001783/0.264, allocations: 65.14 kB / 435.6 MB, free: 2.91 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001448/0.2641, allocations: 119.6 kB / 435.7 MB, free: 2.793 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000177/0.2643, allocations: 135.4 kB / 435.8 MB, free: 2.66 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.437e-05/0.2643, allocations: 24 kB / 435.9 MB, free: 2.637 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.348e-05/0.2644, allocations: 24 kB / 435.9 MB, free: 2.613 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.798e-05/0.2644, allocations: 55.83 kB / 435.9 MB, free: 2.559 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001215/0.2645, allocations: 107.5 kB / 436.1 MB, free: 2.453 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003306/0.2649, allocations: 293.1 kB / 436.3 MB, free: 2.168 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2649, allocations: 0 / 436.3 MB, free: 2.168 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2649, allocations: 0 / 436.3 MB, free: 2.168 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.2649, allocations: 0 / 436.3 MB, free: 2.168 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0009311/0.2658, allocations: 0.4898 MB / 436.8 MB, free: 1.648 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.2659, allocations: 8.031 kB / 436.8 MB, free: 1.641 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.174e-05/0.2659, allocations: 16.62 kB / 436.9 MB, free: 1.625 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.407e-05/0.2659, allocations: 50.73 kB / 436.9 MB, free: 1.566 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.156e-05/0.266, allocations: 32.75 kB / 436.9 MB, free: 1.535 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003586/0.2664, allocations: 210.8 kB / 437.1 MB, free: 1.305 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.202e-05/0.2664, allocations: 16.88 kB / 437.2 MB, free: 1.289 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.322e-05/0.2664, allocations: 20.38 kB / 437.2 MB, free: 1.27 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005113/0.2669, allocations: 305.1 kB / 437.5 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.267, allocations: 0 / 437.5 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.515e-05/0.267, allocations: 8 kB / 437.5 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.245e-05/0.267, allocations: 8 kB / 437.5 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004342/0.2674, allocations: 189.9 kB / 437.7 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001472/0.2689, allocations: 0.8151 MB / 438.5 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006189/0.2695, allocations: 202.7 kB / 438.7 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003084/0.2698, allocations: 116.7 kB / 438.8 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.022e-05/0.2698, allocations: 3.938 kB / 438.8 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/0.2699, allocations: 34.56 kB / 438.8 MB, free: 15.49 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.533e-06/0.2699, allocations: 4 kB / 438.8 MB, free: 15.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.001792/0.2717, allocations: 490 kB / 439.3 MB, free: 15 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.198e-05/0.2717, allocations: 59.34 kB / 439.4 MB, free: 14.93 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002459/0.272, allocations: 227.1 kB / 439.6 MB, free: 14.7 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.376e-05/0.272, allocations: 29.7 kB / 439.6 MB, free: 14.66 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.2721, allocations: 168.2 kB / 439.8 MB, free: 14.49 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.821e-05/0.2721, allocations: 59.53 kB / 439.9 MB, free: 14.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.317e-05/0.2722, allocations: 41.7 kB / 439.9 MB, free: 14.39 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.2724, allocations: 330.8 kB / 440.2 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001796/0.2725, allocations: 72.81 kB / 440.3 MB, free: 13.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002061/0.2728, allocations: 113.9 kB / 440.4 MB, free: 13.85 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000364/0.2731, allocations: 184.4 kB / 440.6 MB, free: 13.65 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.2731, allocations: 0 / 440.6 MB, free: 13.65 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008677/0.274, allocations: 350 kB / 440.9 MB, free: 13.3 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.274, allocations: 8.031 kB / 440.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.274, allocations: 0 / 440.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003953/0.2744, allocations: 80.8 kB / 441 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001566/0.2746, allocations: 39.92 kB / 441 MB, free: 13.17 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003/0.2776, allocations: 1.898 MB / 442.9 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001747/0.2777, allocations: 31.81 kB / 443 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.707e-05/0.2778, allocations: 8 kB / 443 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001696/0.2779, allocations: 140.1 kB / 443.1 MB, free: 10.97 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001378/0.2781, allocations: 97.92 kB / 443.2 MB, free: 10.85 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002035/0.2783, allocations: 160.6 kB / 443.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.266e-06/0.2783, allocations: 4 kB / 443.4 MB, free: 10.67 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003475/0.2786, allocations: 210.2 kB / 443.6 MB, free: 10.46 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.2786, allocations: 8.172 kB / 443.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.2786, allocations: 8 kB / 443.6 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.638e-05/0.2787, allocations: 28.78 kB / 443.6 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001601/0.2789, allocations: 35.98 kB / 443.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001049/0.2799, allocations: 1.307 MB / 445 MB, free: 8.953 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001162/0.28, allocations: 15.89 kB / 445 MB, free: 8.938 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/0.2801, allocations: 8 kB / 445 MB, free: 8.93 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 20 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001325/0.2802, allocations: 192.3 kB / 445.2 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.051e-05/0.2802, allocations: 23.86 kB / 445.2 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.477e-05/0.2803, allocations: 29.39 kB / 445.2 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.624e-06/0.2803, allocations: 3.938 kB / 445.2 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.2803, allocations: 4 kB / 445.2 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.2803, allocations: 0 / 445.2 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001111/0.2814, allocations: 0.5703 MB / 445.8 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.2814, allocations: 0 / 445.8 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001309/0.2815, allocations: 35.92 kB / 445.8 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002616/0.2818, allocations: 68.8 kB / 445.9 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/0.2818, allocations: 4 kB / 445.9 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002446/0.2843, allocations: 1.81 MB / 447.7 MB, free: 6.027 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.2843, allocations: 0 / 447.7 MB, free: 6.027 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008826/0.2851, allocations: 440.5 kB / 448.2 MB, free: 5.578 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.682e-05/0.2852, allocations: 19.86 kB / 448.2 MB, free: 5.559 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.833e-05/0.2852, allocations: 8 kB / 448.2 MB, free: 5.551 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001851/0.2854, allocations: 23.98 kB / 448.2 MB, free: 5.527 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.57e-05/0.2854, allocations: 11.98 kB / 448.2 MB, free: 5.516 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.2854, allocations: 4 kB / 448.2 MB, free: 5.512 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001606/0.2856, allocations: 163.2 kB / 448.4 MB, free: 5.352 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2856, allocations: 0 / 448.4 MB, free: 5.352 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005485/0.2861, allocations: 115.8 kB / 448.5 MB, free: 5.238 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001252/0.2874, allocations: 0.9733 MB / 449.5 MB, free: 4.234 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00115/0.2885, allocations: 0.5194 MB / 450 MB, free: 3.691 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.2885, allocations: 0 / 450 MB, free: 3.691 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003182/0.2889, allocations: 211.1 kB / 450.2 MB, free: 3.473 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003785/0.2892, allocations: 36.72 kB / 450.2 MB, free: 3.438 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004242/0.2935, allocations: 2.64 MB / 452.9 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001399/0.2936, allocations: 138.1 kB / 453 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001001/0.2937, allocations: 25.94 kB / 453 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.773e-05/0.2938, allocations: 59.42 kB / 453.1 MB, free: 448 kB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.2938, allocations: 0 / 453.1 MB, free: 448 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03412/0.3279, allocations: 5.757 MB / 458.8 MB, free: 10.88 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.89/13.21, allocations: 3.938 kB / 458.8 MB, free: 10.88 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.53923501598183] Failed to read output from testmodel.py, exit status != 0: ['time', 'c.v', 'opAmp.out.v', 'opAmp.out.i'] 13.383947605034336 13.399220107 13.131294266 Calling exit ...