Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.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.001182/0.001182, allocations: 105.7 kB / 19.74 MB, free: 2.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.001296/0.001296, allocations: 219.9 kB / 22.92 MB, free: 5.191 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.301/1.301, allocations: 230.4 MB / 256.4 MB, free: 8.27 MB / 206.1 MB " [Timeout remaining time 179] 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.OpAmps.NonInvertingAmplifier,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier",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.001795/0.001795, allocations: 71.83 kB / 376.1 MB, free: 4.066 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2207/0.2225, allocations: 53.31 MB / 429.4 MB, free: 7.457 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.003973/0.2264, allocations: 2.977 MB / 432.4 MB, free: 4.469 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001366/0.2278, allocations: 0.7635 MB / 433.2 MB, free: 3.699 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001414/0.228, allocations: 4 kB / 433.2 MB, free: 3.695 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001555/0.2281, allocations: 59.5 kB / 433.2 MB, free: 3.637 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001806/0.2283, allocations: 95.19 kB / 433.3 MB, free: 3.543 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000269/0.2286, allocations: 119.8 kB / 433.4 MB, free: 3.426 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004162/0.229, allocations: 422.4 kB / 433.9 MB, free: 3.012 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001874/0.2292, allocations: 83.27 kB / 433.9 MB, free: 2.922 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001783/0.2293, allocations: 163.4 kB / 434.1 MB, free: 2.762 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002135/0.2296, allocations: 175.3 kB / 434.3 MB, free: 2.59 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.711e-05/0.2296, allocations: 40 kB / 434.3 MB, free: 2.551 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.936e-05/0.2297, allocations: 43.94 kB / 434.4 MB, free: 2.508 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.331e-05/0.2297, allocations: 79.75 kB / 434.4 MB, free: 2.43 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001661/0.2299, allocations: 175.2 kB / 434.6 MB, free: 2.258 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004517/0.2304, allocations: 450.7 kB / 435 MB, free: 1.82 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2304, allocations: 0 / 435 MB, free: 1.82 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2304, allocations: 0 / 435 MB, free: 1.82 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.064e-06/0.2304, allocations: 0 / 435 MB, free: 1.82 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.001219/0.2316, allocations: 0.6884 MB / 435.7 MB, free: 1.078 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.2316, allocations: 8.031 kB / 435.7 MB, free: 1.07 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.79e-05/0.2317, allocations: 66.66 kB / 435.8 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.723e-05/0.2318, allocations: 44.7 kB / 435.8 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003802/0.2321, allocations: 299.7 kB / 436.1 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.291e-05/0.2322, allocations: 24.92 kB / 436.2 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.247e-05/0.2322, allocations: 24.38 kB / 436.2 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006686/0.2329, allocations: 335.7 kB / 436.5 MB, free: 240 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.719e-06/0.2329, allocations: 0 / 436.5 MB, free: 240 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.758e-05/0.2329, allocations: 8 kB / 436.5 MB, free: 232 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.2329, allocations: 8 kB / 436.5 MB, free: 224 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007781/0.2337, allocations: 290 kB / 436.8 MB, free: 15.94 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00173/0.2354, allocations: 1.139 MB / 438 MB, free: 14.72 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007978/0.2362, allocations: 246.5 kB / 438.2 MB, free: 14.47 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003193/0.2365, allocations: 104.8 kB / 438.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.744e-05/0.2366, allocations: 0 / 438.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004495/0.237, allocations: 185 kB / 438.5 MB, free: 14.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.112e-06/0.237, allocations: 0 / 438.5 MB, free: 14.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002273/0.2393, allocations: 0.663 MB / 439.1 MB, free: 13.47 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.595e-05/0.2394, allocations: 106.8 kB / 439.2 MB, free: 13.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000293/0.2396, allocations: 286.6 kB / 439.5 MB, free: 13.05 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.637e-05/0.2397, allocations: 29.7 kB / 439.6 MB, free: 13.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/0.2398, allocations: 204.2 kB / 439.8 MB, free: 12.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.866e-05/0.2398, allocations: 43.62 kB / 439.8 MB, free: 12.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.118e-05/0.2399, allocations: 61.83 kB / 439.9 MB, free: 12.7 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.2401, allocations: 334.8 kB / 440.2 MB, free: 12.37 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003457/0.2404, allocations: 116.1 kB / 440.3 MB, free: 12.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004051/0.2408, allocations: 209.3 kB / 440.5 MB, free: 12 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006993/0.2415, allocations: 320.6 kB / 440.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.2415, allocations: 0 / 440.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001217/0.2427, allocations: 483.7 kB / 441.3 MB, free: 11.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.627e-05/0.2428, allocations: 36.83 kB / 441.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.2428, allocations: 0 / 441.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003552/0.2431, allocations: 88.86 kB / 441.4 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002091/0.2433, allocations: 51.89 kB / 441.5 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002947/0.2463, allocations: 2.064 MB / 443.5 MB, free: 8.773 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003191/0.2466, allocations: 51.8 kB / 443.6 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.793e-05/0.2466, allocations: 19.94 kB / 443.6 MB, free: 8.703 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.0001567/0.2468, allocations: 149.8 kB / 443.7 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.839e-05/0.2468, allocations: 23.86 kB / 443.8 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.968e-05/0.2469, allocations: 25.83 kB / 443.8 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.2469, allocations: 4.125 kB / 443.8 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.2469, allocations: 4 kB / 443.8 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.2469, allocations: 3.984 kB / 443.8 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002993/0.2472, allocations: 325.4 kB / 444.1 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2472, allocations: 0 / 444.1 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001328/0.2473, allocations: 27.91 kB / 444.1 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002654/0.2476, allocations: 88.73 kB / 444.2 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.2476, allocations: 0 / 444.2 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002433/0.25, allocations: 1.987 MB / 446.2 MB, free: 5.867 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.25, allocations: 4.031 kB / 446.2 MB, free: 5.863 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001026/0.2511, allocations: 361.5 kB / 446.6 MB, free: 5.488 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.007e-05/0.2511, allocations: 112.9 kB / 446.7 MB, free: 5.359 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.599e-05/0.2512, allocations: 8.062 kB / 446.7 MB, free: 5.352 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002317/0.2514, allocations: 35.95 kB / 446.7 MB, free: 5.316 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.34e-05/0.2515, allocations: 15.98 kB / 446.7 MB, free: 5.301 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.344e-05/0.2515, allocations: 8 kB / 446.8 MB, free: 5.293 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001936/0.2517, allocations: 198 kB / 446.9 MB, free: 5.102 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2517, allocations: 4 kB / 446.9 MB, free: 5.098 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003853/0.2521, allocations: 79.89 kB / 447 MB, free: 5.02 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.001343/0.2534, allocations: 0.9008 MB / 447.9 MB, free: 4.086 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001291/0.2547, allocations: 0.5059 MB / 448.4 MB, free: 3.555 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2547, allocations: 4.188 kB / 448.4 MB, free: 3.551 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004643/0.2552, allocations: 222.6 kB / 448.7 MB, free: 3.32 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003078/0.2555, allocations: 42.8 kB / 448.7 MB, free: 3.281 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007046/0.2625, allocations: 3.589 MB / 452.3 MB, free: 15.53 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003434/0.2629, allocations: 0.7599 MB / 453 MB, free: 14.75 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001009/0.263, allocations: 26.28 kB / 453.1 MB, free: 14.72 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001296/0.2631, allocations: 87.41 kB / 453.2 MB, free: 14.64 MB / 366.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2631, allocations: 0 / 453.2 MB, free: 14.64 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03533/0.2984, allocations: 6.898 MB / 460.1 MB, free: 7.895 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.34/10.64, allocations: 6.562 kB / 460.1 MB, free: 7.891 MB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.768606622994412]