Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.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.001891/0.001891, allocations: 113 kB / 18.49 MB, free: 4.539 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.002366/0.002366, allocations: 217.4 kB / 21.46 MB, free: 1.586 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.431/1.431, allocations: 230.6 MB / 254.8 MB, free: 15.09 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.NonInvertingAmplifier,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001556/0.001556, allocations: 51.92 kB / 373.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1094, allocations: 53.34 MB / 427.1 MB, free: 4.766 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.004193/0.1136, allocations: 2.954 MB / 430 MB, free: 1.793 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001428/0.115, allocations: 0.7635 MB / 430.8 MB, free: 1.023 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001482/0.1152, allocations: 11.94 kB / 430.8 MB, free: 1.012 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000184/0.1153, allocations: 51.5 kB / 430.8 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002391/0.1156, allocations: 103.2 kB / 430.9 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003082/0.1159, allocations: 115.8 kB / 431.1 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005089/0.1164, allocations: 418.4 kB / 431.5 MB, free: 344 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002461/0.1166, allocations: 91.27 kB / 431.6 MB, free: 244 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002381/0.1169, allocations: 163.4 kB / 431.7 MB, free: 80 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1916/0.3085, allocations: 165.8 kB / 431.9 MB, free: 7.863 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001379/0.3087, allocations: 40.12 kB / 431.9 MB, free: 7.863 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001188/0.3088, allocations: 43.31 kB / 432 MB, free: 7.863 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.015e-05/0.3089, allocations: 77.08 kB / 432 MB, free: 7.863 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002005/0.3091, allocations: 177.3 kB / 432.2 MB, free: 7.863 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005037/0.3096, allocations: 457 kB / 432.6 MB, free: 7.809 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.3096, allocations: 0 / 432.6 MB, free: 7.809 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.3096, allocations: 0 / 432.6 MB, free: 7.809 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.825e-06/0.3096, allocations: 1.281 kB / 432.6 MB, free: 7.809 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001192/0.3108, allocations: 0.6815 MB / 433.3 MB, free: 7.312 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.3108, allocations: 10.06 kB / 433.3 MB, free: 7.312 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.275e-05/0.3108, allocations: 8.5 kB / 433.3 MB, free: 7.312 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.156e-05/0.3109, allocations: 59.77 kB / 433.4 MB, free: 7.273 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.405e-05/0.311, allocations: 37.7 kB / 433.4 MB, free: 7.254 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003662/0.3113, allocations: 304.4 kB / 433.7 MB, free: 7.027 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.487e-05/0.3113, allocations: 17.94 kB / 433.8 MB, free: 7.027 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.133e-05/0.3114, allocations: 24.59 kB / 433.8 MB, free: 7.027 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006542/0.312, allocations: 330 kB / 434.1 MB, free: 6.973 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.3121, allocations: 1.5 kB / 434.1 MB, free: 6.973 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.946e-05/0.3121, allocations: 14.66 kB / 434.1 MB, free: 6.973 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.3121, allocations: 8.219 kB / 434.1 MB, free: 6.973 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007407/0.3128, allocations: 281.2 kB / 434.4 MB, free: 6.969 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00164/0.3145, allocations: 1.142 MB / 435.5 MB, free: 6.445 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008571/0.3153, allocations: 247 kB / 435.8 MB, free: 6.418 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003314/0.3157, allocations: 102.3 kB / 435.9 MB, free: 6.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.669e-05/0.3157, allocations: 6.641 kB / 435.9 MB, free: 6.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004679/0.3162, allocations: 176 kB / 436.1 MB, free: 6.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.623e-06/0.3162, allocations: 0 / 436.1 MB, free: 6.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002333/0.3185, allocations: 0.6698 MB / 436.7 MB, free: 6.176 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.776e-05/0.3185, allocations: 112.6 kB / 436.8 MB, free: 6.051 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003212/0.3189, allocations: 284.2 kB / 437.1 MB, free: 5.941 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.265e-05/0.3189, allocations: 31.55 kB / 437.2 MB, free: 5.906 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000114/0.319, allocations: 208 kB / 437.4 MB, free: 5.766 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.577e-05/0.319, allocations: 40.8 kB / 437.4 MB, free: 5.742 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/0.3191, allocations: 54.61 kB / 437.4 MB, free: 5.719 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.872e-05/0.3192, allocations: 333.1 kB / 437.8 MB, free: 5.406 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003589/0.3196, allocations: 110.3 kB / 437.9 MB, free: 5.402 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003949/0.32, allocations: 215.6 kB / 438.1 MB, free: 5.273 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006924/0.3207, allocations: 319.7 kB / 438.4 MB, free: 5.133 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.3207, allocations: 5.312 kB / 438.4 MB, free: 5.133 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001276/0.3219, allocations: 478.6 kB / 438.9 MB, free: 5.035 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.91e-05/0.322, allocations: 34.88 kB / 438.9 MB, free: 5.004 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.637e-06/0.322, allocations: 2.156 kB / 438.9 MB, free: 5.004 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003963/0.3224, allocations: 88.72 kB / 439 MB, free: 4.992 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002262/0.3226, allocations: 51.94 kB / 439.1 MB, free: 4.992 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002631/0.3252, allocations: 2.068 MB / 441.1 MB, free: 3.434 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000358/0.3256, allocations: 57.25 kB / 441.2 MB, free: 3.414 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.558e-05/0.3256, allocations: 14.67 kB / 441.2 MB, free: 3.41 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (24): * Single equations (assignments): 22 * 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 0.0001447/0.3258, allocations: 150.5 kB / 441.3 MB, free: 3.273 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.065e-05/0.3258, allocations: 27.48 kB / 441.4 MB, free: 3.262 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.984e-05/0.3259, allocations: 28.05 kB / 441.4 MB, free: 3.242 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.3259, allocations: 2.281 kB / 441.4 MB, free: 3.242 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.3259, allocations: 0.8438 kB / 441.4 MB, free: 3.242 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.3259, allocations: 4.656 kB / 441.4 MB, free: 3.238 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002981/0.3262, allocations: 326.8 kB / 441.7 MB, free: 2.984 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.3262, allocations: 3.938 kB / 441.7 MB, free: 2.984 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001389/0.3263, allocations: 29.67 kB / 441.8 MB, free: 2.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003467/0.3267, allocations: 81.58 kB / 441.8 MB, free: 2.957 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.713e-05/0.3267, allocations: 5.766 kB / 441.8 MB, free: 2.953 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002069/0.3287, allocations: 1.972 MB / 443.8 MB, free: 1.277 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3287, allocations: 0 / 443.8 MB, free: 1.277 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001071/0.3298, allocations: 376.8 kB / 444.2 MB, free: 1.133 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.127e-05/0.3299, allocations: 104.9 kB / 444.3 MB, free: 1.02 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.54e-05/0.3299, allocations: 7.156 kB / 444.3 MB, free: 1.016 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002434/0.3301, allocations: 33.38 kB / 444.3 MB, free: 1.012 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.256e-05/0.3302, allocations: 26.92 kB / 444.3 MB, free: 1.004 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.3302, allocations: 4.281 kB / 444.3 MB, free: 1.004 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002092/0.3304, allocations: 203.5 kB / 444.5 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3304, allocations: 0 / 444.5 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005067/0.331, allocations: 75.58 kB / 444.6 MB, free: 0.875 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 (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.001279/0.3322, allocations: 0.9069 MB / 445.5 MB, free: 204 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001329/0.3336, allocations: 0.4888 MB / 446 MB, free: 15.95 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3336, allocations: 1.375 kB / 446 MB, free: 15.95 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005386/0.3341, allocations: 236.2 kB / 446.2 MB, free: 15.81 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003577/0.3345, allocations: 47.72 kB / 446.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008047/0.3425, allocations: 3.597 MB / 449.9 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004021/0.3429, allocations: 0.7531 MB / 450.6 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001425/0.3431, allocations: 28.75 kB / 450.7 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001385/0.3432, allocations: 81.92 kB / 450.8 MB, free: 13.02 MB / 366.1 MB Notification: Performance of SimCode: time 1.022e-06/0.3432, allocations: 0 / 450.8 MB, free: 13.02 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03013/0.3733, allocations: 6.942 MB / 457.7 MB, free: 11.09 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.74/12.12, allocations: 7.906 kB / 457.7 MB, free: 11.09 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.527634435973596] Failed to read output from testmodel.py, exit status != 0: ['time', 'buffer.opAmp.out.v', 'buffer.opAmp.out.i'] 12.264688094030134 12.278895436 11.966594049 Calling exit ...