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.001416/0.001416, allocations: 109.7 kB / 19.74 MB, free: 2.586 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.001597/0.001597, allocations: 222.3 kB / 22.92 MB, free: 5.559 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.273/1.273, allocations: 230.5 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.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.001801/0.001801, allocations: 67.89 kB / 376.1 MB, free: 4.059 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2117/0.2135, allocations: 53.31 MB / 429.4 MB, free: 7.445 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.003741/0.2173, allocations: 2.836 MB / 432.3 MB, free: 4.598 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001063/0.2183, allocations: 0.6855 MB / 432.9 MB, free: 3.906 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001168/0.2185, allocations: 4 kB / 432.9 MB, free: 3.902 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001398/0.2186, allocations: 47.56 kB / 433 MB, free: 3.855 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001694/0.2188, allocations: 91.19 kB / 433.1 MB, free: 3.766 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002318/0.219, allocations: 91.83 kB / 433.2 MB, free: 3.676 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003975/0.2194, allocations: 374.5 kB / 433.5 MB, free: 3.309 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001764/0.2196, allocations: 90.94 kB / 433.6 MB, free: 3.215 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001582/0.2197, allocations: 139.5 kB / 433.8 MB, free: 3.078 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002042/0.2199, allocations: 167.3 kB / 433.9 MB, free: 2.914 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.596e-05/0.22, allocations: 36 kB / 434 MB, free: 2.879 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.423e-05/0.2201, allocations: 32 kB / 434 MB, free: 2.848 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.304e-05/0.2201, allocations: 79.69 kB / 434.1 MB, free: 2.77 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001571/0.2203, allocations: 163.2 kB / 434.2 MB, free: 2.609 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003775/0.2207, allocations: 382.9 kB / 434.6 MB, free: 2.238 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.2207, allocations: 0 / 434.6 MB, free: 2.238 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.2207, allocations: 0 / 434.6 MB, free: 2.238 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.673e-06/0.2207, allocations: 0 / 434.6 MB, free: 2.238 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001198/0.2219, allocations: 0.6651 MB / 435.3 MB, free: 1.52 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.2219, allocations: 8.031 kB / 435.3 MB, free: 1.512 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.576e-05/0.222, allocations: 62.67 kB / 435.3 MB, free: 1.441 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.363e-05/0.222, allocations: 36.7 kB / 435.4 MB, free: 1.406 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003235/0.2224, allocations: 272.8 kB / 435.6 MB, free: 1.098 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.48e-05/0.2224, allocations: 20.94 kB / 435.7 MB, free: 1.074 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.963e-05/0.2224, allocations: 20.38 kB / 435.7 MB, free: 1.055 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000625/0.223, allocations: 307.5 kB / 436 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/0.2231, allocations: 0 / 436 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.028e-05/0.2231, allocations: 12 kB / 436 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.2231, allocations: 4 kB / 436 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007547/0.2238, allocations: 257.5 kB / 436.3 MB, free: 488 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001606/0.2255, allocations: 1.09 MB / 437.3 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007531/0.2262, allocations: 206.6 kB / 437.5 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002982/0.2265, allocations: 92.73 kB / 437.6 MB, free: 14.99 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.494e-05/0.2265, allocations: 3.984 kB / 437.6 MB, free: 14.99 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004163/0.2269, allocations: 161.9 kB / 437.8 MB, free: 14.81 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.212e-06/0.2269, allocations: 0 / 437.8 MB, free: 14.81 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.001975/0.2289, allocations: 0.5107 MB / 438.3 MB, free: 14.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.492e-05/0.229, allocations: 106.8 kB / 438.4 MB, free: 14.14 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002808/0.2293, allocations: 286.6 kB / 438.7 MB, free: 13.85 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.745e-05/0.2293, allocations: 29.7 kB / 438.7 MB, free: 13.82 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/0.2294, allocations: 200 kB / 438.9 MB, free: 13.62 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.889e-05/0.2295, allocations: 47.56 kB / 439 MB, free: 13.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.141e-05/0.2296, allocations: 53.89 kB / 439 MB, free: 13.51 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.2297, allocations: 334.8 kB / 439.3 MB, free: 13.17 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003261/0.23, allocations: 96.16 kB / 439.4 MB, free: 13.08 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003887/0.2304, allocations: 202.1 kB / 439.6 MB, free: 12.83 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006704/0.2311, allocations: 301.4 kB / 439.9 MB, free: 12.49 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.2311, allocations: 4 kB / 439.9 MB, free: 12.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001147/0.2322, allocations: 426.9 kB / 440.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.222e-05/0.2323, allocations: 33.64 kB / 440.4 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.2323, allocations: 7.938 kB / 440.4 MB, free: 12.01 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003139/0.2326, allocations: 76.89 kB / 440.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002117/0.2328, allocations: 47.91 kB / 440.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002389/0.2352, allocations: 1.707 MB / 442.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003228/0.2355, allocations: 60 kB / 442.3 MB, free: 9.977 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.243e-05/0.2355, allocations: 16 kB / 442.3 MB, free: 9.961 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.0001405/0.2357, allocations: 149.7 kB / 442.4 MB, free: 9.805 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.068e-05/0.2357, allocations: 31.8 kB / 442.5 MB, free: 9.773 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.569e-05/0.2358, allocations: 21.72 kB / 442.5 MB, free: 9.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.2358, allocations: 7.984 kB / 442.5 MB, free: 9.742 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-06/0.2358, allocations: 4 kB / 442.5 MB, free: 9.738 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.2358, allocations: 0 / 442.5 MB, free: 9.738 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002651/0.236, allocations: 297.4 kB / 442.8 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.236, allocations: 0 / 442.8 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001201/0.2361, allocations: 19.97 kB / 442.8 MB, free: 9.379 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002469/0.2364, allocations: 68.8 kB / 442.9 MB, free: 9.309 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.2364, allocations: 4 kB / 442.9 MB, free: 9.305 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002136/0.2385, allocations: 1.705 MB / 444.6 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.2385, allocations: 4 kB / 444.6 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009715/0.2395, allocations: 314 kB / 444.9 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.2396, allocations: 112.9 kB / 445 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.105e-05/0.2397, allocations: 0 / 445 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002319/0.2399, allocations: 31.97 kB / 445 MB, free: 6.969 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.457e-05/0.24, allocations: 19.97 kB / 445.1 MB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.364e-05/0.24, allocations: 7.938 kB / 445.1 MB, free: 6.941 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001932/0.2402, allocations: 209.9 kB / 445.3 MB, free: 6.738 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2402, allocations: 3.938 kB / 445.3 MB, free: 6.734 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003177/0.2405, allocations: 79.89 kB / 445.4 MB, free: 6.656 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.001292/0.2418, allocations: 0.8433 MB / 446.2 MB, free: 5.781 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009282/0.2427, allocations: 410.3 kB / 446.6 MB, free: 5.355 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2427, allocations: 192 / 446.6 MB, free: 5.355 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004436/0.2431, allocations: 226.5 kB / 446.8 MB, free: 5.121 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000263/0.2434, allocations: 36.81 kB / 446.9 MB, free: 5.086 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00488/0.2483, allocations: 2.995 MB / 449.8 MB, free: 1.914 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003451/0.2486, allocations: 0.7557 MB / 450.6 MB, free: 1.133 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.963e-05/0.2487, allocations: 26.28 kB / 450.6 MB, free: 1.109 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001141/0.2488, allocations: 79.41 kB / 450.7 MB, free: 1.035 MB / 350.1 MB Notification: Performance of SimCode: time 5.81e-07/0.2488, allocations: 0 / 450.7 MB, free: 1.035 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03499/0.2838, allocations: 6.895 MB / 457.6 MB, free: 10.3 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.57/10.85, allocations: 11.33 kB / 457.6 MB, free: 10.29 MB / 366.1 MB " [Timeout remaining time 649] (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 --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: 12.945297441001458]