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.InvertingAmplifier.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.001429/0.001429, allocations: 105 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.001501/0.001501, allocations: 216.8 kB / 22.92 MB, free: 5.195 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.285/1.285, 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.InvertingAmplifier,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_InvertingAmplifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_InvertingAmplifier",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.001887/0.001887, allocations: 71.83 kB / 376.1 MB, free: 4.039 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2155/0.2173, allocations: 53.32 MB / 429.4 MB, free: 7.426 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier): time 0.003907/0.2213, allocations: 2.979 MB / 432.4 MB, free: 4.434 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001184/0.2224, allocations: 0.7713 MB / 433.2 MB, free: 3.656 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001363/0.2226, allocations: 8 kB / 433.2 MB, free: 3.648 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001552/0.2227, allocations: 47.5 kB / 433.2 MB, free: 3.602 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001895/0.2229, allocations: 103.2 kB / 433.3 MB, free: 3.5 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002679/0.2232, allocations: 119.8 kB / 433.5 MB, free: 3.383 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004087/0.2236, allocations: 418.4 kB / 433.9 MB, free: 2.973 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001925/0.2238, allocations: 87.27 kB / 434 MB, free: 2.879 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001721/0.224, allocations: 155.4 kB / 434.1 MB, free: 2.727 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002085/0.2242, allocations: 179.2 kB / 434.3 MB, free: 2.551 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.868e-05/0.2242, allocations: 40 kB / 434.3 MB, free: 2.512 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.172e-05/0.2243, allocations: 44 kB / 434.4 MB, free: 2.469 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.57e-05/0.2244, allocations: 79.69 kB / 434.4 MB, free: 2.391 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001646/0.2245, allocations: 175.2 kB / 434.6 MB, free: 2.219 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004345/0.225, allocations: 446.7 kB / 435 MB, free: 1.785 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.225, allocations: 7.984 kB / 435.1 MB, free: 1.777 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.225, allocations: 0 / 435.1 MB, free: 1.777 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.225, allocations: 0 / 435.1 MB, free: 1.777 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.001224/0.2262, allocations: 0.6845 MB / 435.7 MB, free: 1.039 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.2262, allocations: 11.97 kB / 435.7 MB, free: 1.027 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.638e-05/0.2263, allocations: 62.73 kB / 435.8 MB, free: 0.957 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.892e-05/0.2264, allocations: 40.69 kB / 435.8 MB, free: 0.918 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003882/0.2268, allocations: 303.7 kB / 436.1 MB, free: 0.582 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.227e-05/0.2268, allocations: 16.94 kB / 436.2 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.01e-05/0.2268, allocations: 28.36 kB / 436.2 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006797/0.2275, allocations: 327.8 kB / 436.5 MB, free: 212 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.2275, allocations: 0 / 436.5 MB, free: 212 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.354e-05/0.2275, allocations: 12 kB / 436.5 MB, free: 200 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.2275, allocations: 4 kB / 436.5 MB, free: 196 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007915/0.2283, allocations: 294 kB / 436.8 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00179/0.2301, allocations: 1.147 MB / 438 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007921/0.2309, allocations: 242.6 kB / 438.2 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000313/0.2312, allocations: 100.8 kB / 438.3 MB, free: 14.33 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.878e-05/0.2313, allocations: 0 / 438.3 MB, free: 14.33 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000452/0.2317, allocations: 189.7 kB / 438.5 MB, free: 14.12 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.042e-06/0.2317, allocations: 0 / 438.5 MB, free: 14.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002225/0.2339, allocations: 0.6615 MB / 439.1 MB, free: 13.44 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.205e-05/0.234, allocations: 114.8 kB / 439.3 MB, free: 13.3 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002815/0.2343, allocations: 282.6 kB / 439.5 MB, free: 13.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.516e-05/0.2343, allocations: 29.7 kB / 439.6 MB, free: 12.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001315/0.2344, allocations: 196.1 kB / 439.8 MB, free: 12.79 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.164e-05/0.2345, allocations: 47.8 kB / 439.8 MB, free: 12.74 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.903e-05/0.2346, allocations: 49.94 kB / 439.8 MB, free: 12.68 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.2347, allocations: 342.8 kB / 440.2 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003398/0.235, allocations: 108.4 kB / 440.3 MB, free: 12.23 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004001/0.2354, allocations: 204.8 kB / 440.5 MB, free: 11.99 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006958/0.2361, allocations: 306.6 kB / 440.8 MB, free: 11.65 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.2361, allocations: 4 kB / 440.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001217/0.2374, allocations: 471.7 kB / 441.3 MB, free: 11.17 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.8e-05/0.2374, allocations: 33.7 kB / 441.3 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.2374, allocations: 12.05 kB / 441.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00037/0.2378, allocations: 76.81 kB / 441.4 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002036/0.238, allocations: 51.89 kB / 441.4 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002578/0.2406, allocations: 1.994 MB / 443.4 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003063/0.2409, allocations: 55.8 kB / 443.5 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.144e-05/0.2409, allocations: 11.94 kB / 443.5 MB, free: 8.789 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001501/0.241, allocations: 153.8 kB / 443.6 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.798e-05/0.2411, allocations: 23.86 kB / 443.7 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.328e-05/0.2411, allocations: 29.83 kB / 443.7 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.2411, allocations: 128 / 443.7 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.2411, allocations: 4 kB / 443.7 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.2411, allocations: 0 / 443.7 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002961/0.2414, allocations: 325.4 kB / 444 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.2414, allocations: 3.984 kB / 444 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001334/0.2416, allocations: 27.98 kB / 444 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002658/0.2418, allocations: 76.8 kB / 444.1 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.2419, allocations: 3.938 kB / 444.1 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002247/0.2441, allocations: 1.81 MB / 445.9 MB, free: 6.129 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.196e-06/0.2441, allocations: 8.031 kB / 445.9 MB, free: 6.121 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001023/0.2451, allocations: 365.5 kB / 446.3 MB, free: 5.742 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.073e-05/0.2452, allocations: 104.9 kB / 446.4 MB, free: 5.621 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.226e-05/0.2452, allocations: 7.984 kB / 446.4 MB, free: 5.613 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002313/0.2455, allocations: 35.91 kB / 446.4 MB, free: 5.578 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.034e-05/0.2455, allocations: 19.97 kB / 446.5 MB, free: 5.559 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.406e-05/0.2455, allocations: 7.938 kB / 446.5 MB, free: 5.551 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001903/0.2457, allocations: 202 kB / 446.7 MB, free: 5.355 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2457, allocations: 3.938 kB / 446.7 MB, free: 5.352 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003446/0.2461, allocations: 79.89 kB / 446.7 MB, free: 5.273 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.001335/0.2474, allocations: 0.9016 MB / 447.6 MB, free: 4.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009521/0.2484, allocations: 433.8 kB / 448.1 MB, free: 3.891 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.2484, allocations: 4 kB / 448.1 MB, free: 3.887 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004475/0.2488, allocations: 222.5 kB / 448.3 MB, free: 3.656 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003048/0.2491, allocations: 45.94 kB / 448.3 MB, free: 3.613 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004898/0.254, allocations: 3.111 MB / 451.4 MB, free: 360 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003293/0.2543, allocations: 0.756 MB / 452.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.296e-05/0.2544, allocations: 30.27 kB / 452.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001185/0.2546, allocations: 83.41 kB / 452.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of SimCode: time 4.8e-07/0.2546, allocations: 4 kB / 452.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0336/0.2882, allocations: 6.938 MB / 459.3 MB, free: 8.672 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.33/10.61, allocations: 2.969 kB / 459.3 MB, free: 8.672 MB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_InvertingAmplifier_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_InvertingAmplifier.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.722072533993924]