Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.InvertingAmp.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.001622/0.001622, allocations: 122.7 kB / 18.5 MB, free: 4.578 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.001972/0.001972, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.426/1.426, allocations: 230.5 MB / 254.7 MB, free: 15.02 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.InvertingAmp,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_InvertingAmp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.InvertingAmp,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_InvertingAmp",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.002155/0.002155, allocations: 59.91 kB / 373.6 MB, free: 10.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1115, allocations: 53.32 MB / 426.9 MB, free: 4.836 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.004517/0.116, allocations: 2.81 MB / 429.7 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001448/0.1175, allocations: 0.6894 MB / 430.4 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002316/0.1177, allocations: 7.938 kB / 430.4 MB, free: 1.305 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002/0.1179, allocations: 47.56 kB / 430.5 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003015/0.1182, allocations: 95.19 kB / 430.6 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003035/0.1185, allocations: 87.77 kB / 430.6 MB, free: 1.078 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005141/0.119, allocations: 374.5 kB / 431 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002176/0.1193, allocations: 86.95 kB / 431.1 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002332/0.1195, allocations: 155.4 kB / 431.2 MB, free: 480 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000246/0.1197, allocations: 159.4 kB / 431.4 MB, free: 320 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.825e-05/0.1198, allocations: 39.94 kB / 431.4 MB, free: 280 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.232e-05/0.1199, allocations: 32 kB / 431.5 MB, free: 248 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.974e-05/0.12, allocations: 71.75 kB / 431.5 MB, free: 176 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001753/0.1201, allocations: 163.2 kB / 431.7 MB, free: 12 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2002/0.3204, allocations: 380.4 kB / 432.1 MB, free: 8.055 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3204, allocations: 0 / 432.1 MB, free: 8.055 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3204, allocations: 0.5312 kB / 432.1 MB, free: 8.055 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.135e-06/0.3204, allocations: 0 / 432.1 MB, free: 8.055 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001188/0.3216, allocations: 0.6573 MB / 432.7 MB, free: 7.566 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.3216, allocations: 8.875 kB / 432.7 MB, free: 7.566 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.038e-05/0.3217, allocations: 59.25 kB / 432.8 MB, free: 7.527 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.028e-05/0.3217, allocations: 40.02 kB / 432.8 MB, free: 7.508 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000355/0.3221, allocations: 274 kB / 433.1 MB, free: 7.281 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.379e-05/0.3221, allocations: 20.73 kB / 433.1 MB, free: 7.281 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.643e-05/0.3222, allocations: 23.88 kB / 433.1 MB, free: 7.281 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005829/0.3227, allocations: 303.5 kB / 433.4 MB, free: 7.223 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.3227, allocations: 0.9062 kB / 433.4 MB, free: 7.223 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.757e-05/0.3228, allocations: 12.3 kB / 433.4 MB, free: 7.223 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.879e-06/0.3228, allocations: 6.562 kB / 433.5 MB, free: 7.223 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006976/0.3235, allocations: 250.7 kB / 433.7 MB, free: 7.219 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001321/0.3248, allocations: 1.095 MB / 434.8 MB, free: 6.621 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006677/0.3255, allocations: 201.3 kB / 435 MB, free: 6.598 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002626/0.3257, allocations: 90.09 kB / 435.1 MB, free: 6.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.9e-05/0.3258, allocations: 4.266 kB / 435.1 MB, free: 6.59 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004043/0.3262, allocations: 165.6 kB / 435.2 MB, free: 6.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.252e-06/0.3262, allocations: 2.281 kB / 435.2 MB, free: 6.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.00193/0.3281, allocations: 0.5059 MB / 435.8 MB, free: 6.363 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.707e-05/0.3281, allocations: 106.9 kB / 435.9 MB, free: 6.238 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002946/0.3284, allocations: 285.1 kB / 436.1 MB, free: 6.129 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/0.3285, allocations: 32.8 kB / 436.2 MB, free: 6.098 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/0.3286, allocations: 205.2 kB / 436.4 MB, free: 5.965 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.453e-05/0.3286, allocations: 40.03 kB / 436.4 MB, free: 5.941 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.659e-05/0.3287, allocations: 51.52 kB / 436.5 MB, free: 5.918 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.624e-05/0.3288, allocations: 335.3 kB / 436.8 MB, free: 5.605 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003074/0.3291, allocations: 95.58 kB / 436.9 MB, free: 5.602 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003401/0.3294, allocations: 201.3 kB / 437.1 MB, free: 5.469 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006328/0.33, allocations: 305.4 kB / 437.4 MB, free: 5.316 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.062e-06/0.33, allocations: 6.312 kB / 437.4 MB, free: 5.312 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001095/0.3311, allocations: 418.6 kB / 437.8 MB, free: 5.223 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.546e-05/0.3312, allocations: 34.95 kB / 437.8 MB, free: 5.191 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.425e-06/0.3312, allocations: 2.969 kB / 437.8 MB, free: 5.191 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003348/0.3315, allocations: 81.69 kB / 437.9 MB, free: 5.176 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000199/0.3317, allocations: 46.25 kB / 438 MB, free: 5.176 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001928/0.3336, allocations: 1.713 MB / 439.7 MB, free: 3.809 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003606/0.334, allocations: 55.27 kB / 439.7 MB, free: 3.793 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.658e-05/0.334, allocations: 12.75 kB / 439.7 MB, free: 3.793 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (23): * Single equations (assignments): 21 * 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,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001283/0.3342, allocations: 152.2 kB / 439.9 MB, free: 3.672 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.892e-05/0.3342, allocations: 27.94 kB / 439.9 MB, free: 3.656 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.838e-05/0.3343, allocations: 29.69 kB / 439.9 MB, free: 3.641 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.3343, allocations: 4.219 kB / 439.9 MB, free: 3.641 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.3343, allocations: 0.5625 kB / 439.9 MB, free: 3.641 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.3343, allocations: 1.969 kB / 439.9 MB, free: 3.641 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002792/0.3345, allocations: 298.6 kB / 440.2 MB, free: 3.449 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.3345, allocations: 0.7031 kB / 440.2 MB, free: 3.449 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000119/0.3347, allocations: 18.41 kB / 440.3 MB, free: 3.449 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002428/0.3349, allocations: 68.61 kB / 440.3 MB, free: 3.438 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/0.3349, allocations: 11.59 kB / 440.3 MB, free: 3.438 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001792/0.3367, allocations: 1.698 MB / 442 MB, free: 2.074 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3367, allocations: 4.062 kB / 442 MB, free: 2.07 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001068/0.3378, allocations: 310.2 kB / 442.3 MB, free: 1.98 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.78e-05/0.3379, allocations: 115.2 kB / 442.4 MB, free: 1.863 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.808e-05/0.3379, allocations: 3.094 kB / 442.5 MB, free: 1.863 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002581/0.3382, allocations: 31.3 kB / 442.5 MB, free: 1.859 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.3383, allocations: 25.16 kB / 442.5 MB, free: 1.852 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.372e-05/0.3383, allocations: 4.016 kB / 442.5 MB, free: 1.852 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002186/0.3385, allocations: 203.8 kB / 442.7 MB, free: 1.73 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3385, allocations: 0 / 442.7 MB, free: 1.73 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00039/0.3389, allocations: 81 kB / 442.8 MB, free: 1.715 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 (7): * Single equations (assignments): 4 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001146/0.34, allocations: 0.8526 MB / 443.6 MB, free: 1.043 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009303/0.341, allocations: 403.4 kB / 444 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.341, allocations: 0 / 444 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004052/0.3414, allocations: 230.1 kB / 444.3 MB, free: 0.668 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003163/0.3417, allocations: 51.77 kB / 444.3 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005221/0.3469, allocations: 3.005 MB / 447.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004276/0.3473, allocations: 0.7536 MB / 448.1 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001247/0.3475, allocations: 28.14 kB / 448.1 MB, free: 14.03 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001398/0.3476, allocations: 81.03 kB / 448.2 MB, free: 13.97 MB / 366.1 MB Notification: Performance of SimCode: time 8.31e-07/0.3476, allocations: 0 / 448.2 MB, free: 13.97 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03566/0.3833, allocations: 6.872 MB / 455 MB, free: 12.4 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/11.98, allocations: 1.531 kB / 455 MB, free: 12.4 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.InvertingAmp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.InvertingAmp_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_InvertingAmp_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_InvertingAmp.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.291168014053255] Failed to read output from testmodel.py, exit status != 0: ['time', 'vIn.signalSource.y'] 12.074506241362542 12.088498023 11.76530244 Calling exit ...