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.Adder.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.00143/0.00143, allocations: 105 kB / 19.74 MB, free: 2.566 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.00154/0.00154, allocations: 215.6 kB / 22.92 MB, free: 5.535 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.278/1.278, allocations: 230.5 MB / 256.4 MB, free: 8.422 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.Adder,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_Adder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Adder,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_Adder",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.001755/0.001755, allocations: 63.89 kB / 376.1 MB, free: 4.062 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2031/0.2049, allocations: 53.32 MB / 429.4 MB, free: 7.434 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.004125/0.209, allocations: 3.239 MB / 432.7 MB, free: 4.18 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001326/0.2103, allocations: 0.8181 MB / 433.5 MB, free: 3.355 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001637/0.2105, allocations: 4 kB / 433.5 MB, free: 3.352 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001837/0.2107, allocations: 63.36 kB / 433.6 MB, free: 3.289 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001999/0.2109, allocations: 115.1 kB / 433.7 MB, free: 3.176 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003274/0.2112, allocations: 135.7 kB / 433.8 MB, free: 3.043 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004438/0.2116, allocations: 446.2 kB / 434.2 MB, free: 2.605 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002264/0.2119, allocations: 111.8 kB / 434.3 MB, free: 2.492 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002661/0.2121, allocations: 175.4 kB / 434.5 MB, free: 2.32 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002193/0.2124, allocations: 183.2 kB / 434.7 MB, free: 2.141 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.561e-05/0.2124, allocations: 40 kB / 434.7 MB, free: 2.102 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.696e-05/0.2125, allocations: 48 kB / 434.8 MB, free: 2.055 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.292e-05/0.2126, allocations: 87.7 kB / 434.9 MB, free: 1.969 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001712/0.2128, allocations: 199 kB / 435.1 MB, free: 1.773 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005278/0.2133, allocations: 0.5101 MB / 435.6 MB, free: 1.266 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2133, allocations: 0 / 435.6 MB, free: 1.266 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2133, allocations: 0 / 435.6 MB, free: 1.266 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.2133, allocations: 0 / 435.6 MB, free: 1.266 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001029/0.2143, allocations: 0.6778 MB / 436.3 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.234e-05/0.2144, allocations: 8.031 kB / 436.3 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.068e-05/0.2144, allocations: 70.72 kB / 436.3 MB, free: 464 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001594/0.2146, allocations: 44.7 kB / 436.4 MB, free: 420 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003897/0.215, allocations: 323.6 kB / 436.7 MB, free: 56 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.131e-05/0.215, allocations: 21.03 kB / 436.7 MB, free: 36 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.387e-05/0.215, allocations: 36.31 kB / 436.7 MB, free: 0 / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006056/0.2156, allocations: 349.2 kB / 437.1 MB, free: 15.65 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.2157, allocations: 0 / 437.1 MB, free: 15.65 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.158e-05/0.2157, allocations: 16 kB / 437.1 MB, free: 15.63 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.402e-05/0.2157, allocations: 12 kB / 437.1 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005499/0.2162, allocations: 266.5 kB / 437.4 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001858/0.2181, allocations: 1.272 MB / 438.6 MB, free: 14.01 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005629/0.2187, allocations: 286.6 kB / 438.9 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001968/0.2189, allocations: 84.81 kB / 439 MB, free: 13.62 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.403e-05/0.2189, allocations: 8 kB / 439 MB, free: 13.61 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.2189, allocations: 34.56 kB / 439.1 MB, free: 13.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.232e-06/0.2189, allocations: 0 / 439.1 MB, free: 13.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.001966/0.2209, allocations: 0.6348 MB / 439.7 MB, free: 12.91 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.722e-05/0.2209, allocations: 59.39 kB / 439.7 MB, free: 12.84 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003052/0.2212, allocations: 298.9 kB / 440 MB, free: 12.54 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.402e-05/0.2213, allocations: 33.7 kB / 440.1 MB, free: 12.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001377/0.2214, allocations: 220.3 kB / 440.3 MB, free: 12.28 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.198e-05/0.2214, allocations: 55.52 kB / 440.3 MB, free: 12.22 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.366e-05/0.2215, allocations: 49.66 kB / 440.4 MB, free: 12.17 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.2216, allocations: 338.8 kB / 440.7 MB, free: 11.83 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000198/0.2218, allocations: 79.95 kB / 440.8 MB, free: 11.75 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002473/0.2221, allocations: 158.3 kB / 440.9 MB, free: 11.56 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004403/0.2225, allocations: 246.1 kB / 441.2 MB, free: 11.28 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.2225, allocations: 0 / 441.2 MB, free: 11.28 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009081/0.2234, allocations: 409 kB / 441.6 MB, free: 10.88 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.2235, allocations: 11.88 kB / 441.6 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.2235, allocations: 4 kB / 441.6 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004038/0.2239, allocations: 108.8 kB / 441.7 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001481/0.224, allocations: 35.92 kB / 441.7 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002978/0.227, allocations: 2.174 MB / 443.9 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002019/0.2272, allocations: 39.83 kB / 444 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.632e-05/0.2272, allocations: 11.94 kB / 444 MB, free: 8.352 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * 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,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001514/0.2274, allocations: 153.7 kB / 444.1 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.43e-05/0.2274, allocations: 31.84 kB / 444.2 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.964e-05/0.2275, allocations: 21.92 kB / 444.2 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.2275, allocations: 7.938 kB / 444.2 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.2275, allocations: 3.984 kB / 444.2 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.2275, allocations: 0 / 444.2 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001191/0.2287, allocations: 0.7256 MB / 444.9 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.2287, allocations: 0 / 444.9 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.075e-05/0.2287, allocations: 15.98 kB / 444.9 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003052/0.229, allocations: 100.7 kB / 445 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.2291, allocations: 3.984 kB / 445 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002652/0.2317, allocations: 2.16 MB / 447.2 MB, free: 4.918 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2317, allocations: 8.094 kB / 447.2 MB, free: 4.91 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007997/0.2325, allocations: 404.3 kB / 447.6 MB, free: 4.496 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.607e-05/0.2326, allocations: 108.8 kB / 447.7 MB, free: 4.371 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.826e-05/0.2326, allocations: 8 kB / 447.7 MB, free: 4.363 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001889/0.2328, allocations: 19.98 kB / 447.7 MB, free: 4.344 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.685e-05/0.2329, allocations: 19.92 kB / 447.7 MB, free: 4.324 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.318e-05/0.2329, allocations: 8 kB / 447.8 MB, free: 4.316 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001975/0.2331, allocations: 209.9 kB / 448 MB, free: 4.113 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2331, allocations: 0 / 448 MB, free: 4.113 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004252/0.2335, allocations: 87.89 kB / 448 MB, free: 4.027 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0011/0.2346, allocations: 0.9423 MB / 449 MB, free: 3.055 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006688/0.2353, allocations: 346.4 kB / 449.3 MB, free: 2.703 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.2353, allocations: 0 / 449.3 MB, free: 2.703 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003391/0.2356, allocations: 219.1 kB / 449.5 MB, free: 2.477 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003457/0.2359, allocations: 44.88 kB / 449.6 MB, free: 2.43 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004399/0.2403, allocations: 3.142 MB / 452.7 MB, free: 15.13 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003468/0.2407, allocations: 0.7713 MB / 453.5 MB, free: 14.34 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.398e-05/0.2408, allocations: 22.3 kB / 453.5 MB, free: 14.31 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001241/0.2409, allocations: 103.3 kB / 453.6 MB, free: 14.21 MB / 366.1 MB Notification: Performance of SimCode: time 3.9e-07/0.2409, allocations: 0 / 453.6 MB, free: 14.21 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03282/0.2737, allocations: 6.698 MB / 460.3 MB, free: 7.66 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.36/10.63, allocations: 5.609 kB / 460.3 MB, free: 7.66 MB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Adder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Adder_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_Adder_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_Adder.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.729371261993947]