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.001297/0.001297, 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.001411/0.001411, allocations: 211.8 kB / 24.51 MB, free: 3.914 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.41/1.41, allocations: 230.6 MB / 258.3 MB, free: 7.785 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.001489/0.001489, allocations: 47.92 kB / 378.5 MB, free: 2.938 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2855/0.287, allocations: 53.36 MB / 431.9 MB, free: 6.645 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.004517/0.2915, allocations: 2.767 MB / 434.7 MB, free: 3.867 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001506/0.293, allocations: 0.7246 MB / 435.4 MB, free: 3.137 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002565/0.2932, allocations: 4 kB / 435.4 MB, free: 3.133 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001907/0.2934, allocations: 47.5 kB / 435.4 MB, free: 3.086 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002447/0.2937, allocations: 107.2 kB / 435.5 MB, free: 2.98 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003631/0.294, allocations: 123.8 kB / 435.7 MB, free: 2.859 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004887/0.2945, allocations: 414.4 kB / 436.1 MB, free: 2.453 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000214/0.2947, allocations: 91.66 kB / 436.2 MB, free: 2.359 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000208/0.2949, allocations: 163.4 kB / 436.3 MB, free: 2.199 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002326/0.2952, allocations: 179.2 kB / 436.5 MB, free: 2.023 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.214e-05/0.2952, allocations: 40 kB / 436.5 MB, free: 1.984 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.621e-05/0.2953, allocations: 40 kB / 436.6 MB, free: 1.945 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.306e-05/0.2954, allocations: 79.7 kB / 436.6 MB, free: 1.867 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000179/0.2956, allocations: 151.4 kB / 436.8 MB, free: 1.719 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005158/0.2961, allocations: 454.3 kB / 437.2 MB, free: 1.273 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.2961, allocations: 0 / 437.2 MB, free: 1.273 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2961, allocations: 0 / 437.2 MB, free: 1.273 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.2961, allocations: 0 / 437.2 MB, free: 1.273 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001293/0.2974, allocations: 0.6091 MB / 437.8 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.2974, allocations: 8.031 kB / 437.9 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.929e-05/0.2975, allocations: 8.688 kB / 437.9 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.664e-05/0.2975, allocations: 58.73 kB / 437.9 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.708e-05/0.2976, allocations: 36.7 kB / 438 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004838/0.2981, allocations: 257.8 kB / 438.2 MB, free: 240 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.641e-05/0.2981, allocations: 20.88 kB / 438.2 MB, free: 220 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.65e-05/0.2982, allocations: 24.38 kB / 438.2 MB, free: 196 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007842/0.2989, allocations: 374 kB / 438.6 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.299, allocations: 4 kB / 438.6 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.378e-05/0.299, allocations: 11.98 kB / 438.6 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/0.299, allocations: 8 kB / 438.6 MB, free: 15.78 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000865/0.2999, allocations: 285.8 kB / 438.9 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001906/0.3018, allocations: 1.022 MB / 439.9 MB, free: 14.4 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008351/0.3026, allocations: 238.6 kB / 440.2 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003319/0.3029, allocations: 104.8 kB / 440.3 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.465e-05/0.303, allocations: 0 / 440.3 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000517/0.3035, allocations: 233.2 kB / 440.5 MB, free: 13.79 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.473e-06/0.3035, allocations: 4 kB / 440.5 MB, free: 13.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002307/0.3058, allocations: 0.5911 MB / 441.1 MB, free: 13.19 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.751e-05/0.3059, allocations: 106.8 kB / 441.2 MB, free: 13.06 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003458/0.3062, allocations: 293.7 kB / 441.5 MB, free: 12.76 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.816e-05/0.3062, allocations: 29.7 kB / 441.5 MB, free: 12.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001561/0.3064, allocations: 208 kB / 441.7 MB, free: 12.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.312e-05/0.3065, allocations: 43.67 kB / 441.8 MB, free: 12.48 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.3066, allocations: 53.89 kB / 441.8 MB, free: 12.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001697/0.3067, allocations: 330.8 kB / 442.1 MB, free: 12.08 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003801/0.3071, allocations: 141.8 kB / 442.3 MB, free: 11.94 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004815/0.3076, allocations: 298 kB / 442.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007256/0.3083, allocations: 320.6 kB / 442.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.3083, allocations: 3.938 kB / 442.9 MB, free: 11.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.00127/0.3096, allocations: 0.5003 MB / 443.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.304e-05/0.3096, allocations: 41.64 kB / 443.4 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/0.3097, allocations: 4 kB / 443.4 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00036/0.31, allocations: 80.8 kB / 443.5 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002119/0.3102, allocations: 59.91 kB / 443.6 MB, free: 10.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003032/0.3133, allocations: 1.941 MB / 445.5 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003635/0.3136, allocations: 63.67 kB / 445.6 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.432e-05/0.3136, allocations: 12.06 kB / 445.6 MB, free: 8.383 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.0001888/0.3138, allocations: 149.8 kB / 445.7 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.327e-05/0.3139, allocations: 23.86 kB / 445.8 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.33e-05/0.3139, allocations: 29.77 kB / 445.8 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.3139, allocations: 0 / 445.8 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.3139, allocations: 0 / 445.8 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.266e-06/0.3139, allocations: 7.922 kB / 445.8 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002939/0.3142, allocations: 256.6 kB / 446 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3142, allocations: 0 / 446 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001389/0.3144, allocations: 27.97 kB / 446.1 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002815/0.3147, allocations: 72.94 kB / 446.1 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.149e-05/0.3147, allocations: 11.98 kB / 446.1 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002553/0.3172, allocations: 1.863 MB / 448 MB, free: 5.781 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.3172, allocations: 0 / 448 MB, free: 5.781 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001064/0.3183, allocations: 369.6 kB / 448.4 MB, free: 5.398 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.827e-05/0.3183, allocations: 27.81 kB / 448.4 MB, free: 5.371 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.014e-05/0.3184, allocations: 7.938 kB / 448.4 MB, free: 5.363 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002363/0.3186, allocations: 35.95 kB / 448.4 MB, free: 5.328 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.103e-05/0.3187, allocations: 19.91 kB / 448.5 MB, free: 5.309 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.457e-05/0.3187, allocations: 7.938 kB / 448.5 MB, free: 5.301 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002223/0.3189, allocations: 205.2 kB / 448.7 MB, free: 5.102 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3189, allocations: 0 / 448.7 MB, free: 5.102 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004278/0.3194, allocations: 79.83 kB / 448.7 MB, free: 5.023 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.001384/0.3207, allocations: 0.9019 MB / 449.7 MB, free: 4.086 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001321/0.3221, allocations: 0.5151 MB / 450.2 MB, free: 3.539 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3221, allocations: 0 / 450.2 MB, free: 3.539 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004834/0.3225, allocations: 235.1 kB / 450.4 MB, free: 3.297 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000341/0.3229, allocations: 56.47 kB / 450.5 MB, free: 3.242 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007447/0.3303, allocations: 3.704 MB / 454.2 MB, free: 15.36 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001486/0.3305, allocations: 146.9 kB / 454.3 MB, free: 15.2 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000119/0.3306, allocations: 30.28 kB / 454.3 MB, free: 15.16 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001416/0.3307, allocations: 83.41 kB / 454.4 MB, free: 15.08 MB / 366.1 MB Notification: Performance of SimCode: time 7.62e-07/0.3307, allocations: 0 / 454.4 MB, free: 15.08 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03278/0.3635, allocations: 7.22 MB / 461.6 MB, free: 8.09 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.71/13.07, allocations: 19.42 kB / 461.6 MB, free: 8.074 MB / 366.1 MB " [Timeout remaining time 647] (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: 15.43854905909393] Failed to read output from testmodel.py, exit status != 0: ['time', 'buffer.opAmp.out.v', 'buffer.opAmp.out.i'] 13.245670832926407 13.26723002 12.967051204 Calling exit ...