Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Resistor.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.001447/0.001447, 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.001621/0.001621, allocations: 214.7 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.302/1.302, allocations: 230.5 MB / 256.4 MB, free: 8.258 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.Resistor,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_Resistor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Resistor,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_Resistor",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.001853/0.001853, allocations: 63.89 kB / 376.1 MB, free: 4.188 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2267/0.2285, allocations: 53.31 MB / 429.4 MB, free: 7.469 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Resistor): time 0.003409/0.2319, allocations: 2.193 MB / 431.6 MB, free: 5.27 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001016/0.2329, allocations: 0.6156 MB / 432.2 MB, free: 4.648 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.329e-05/0.233, allocations: 4 kB / 432.2 MB, free: 4.645 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001124/0.2331, allocations: 19.78 kB / 432.2 MB, free: 4.625 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.461e-05/0.2332, allocations: 55.55 kB / 432.3 MB, free: 4.57 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002244/0.2335, allocations: 47.89 kB / 432.3 MB, free: 4.523 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001926/0.2336, allocations: 159.2 kB / 432.5 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000138/0.2338, allocations: 45.47 kB / 432.5 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001427/0.2339, allocations: 67.72 kB / 432.6 MB, free: 4.25 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001078/0.234, allocations: 63.7 kB / 432.7 MB, free: 4.188 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.505e-05/0.2341, allocations: 12 kB / 432.7 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.888e-05/0.2341, allocations: 28 kB / 432.7 MB, free: 4.148 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.39e-05/0.2342, allocations: 35.83 kB / 432.7 MB, free: 4.113 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.95e-05/0.2342, allocations: 67.67 kB / 432.8 MB, free: 4.047 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002315/0.2345, allocations: 167.7 kB / 433 MB, free: 3.887 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.2345, allocations: 0 / 433 MB, free: 3.887 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2345, allocations: 0 / 433 MB, free: 3.887 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.2345, allocations: 4 kB / 433 MB, free: 3.883 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0006175/0.2351, allocations: 450.9 kB / 433.4 MB, free: 3.391 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.2351, allocations: 8.031 kB / 433.4 MB, free: 3.383 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.566e-05/0.2352, allocations: 42.75 kB / 433.5 MB, free: 3.332 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001708/0.2354, allocations: 28.83 kB / 433.5 MB, free: 3.305 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002786/0.2356, allocations: 215 kB / 433.7 MB, free: 3.059 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.2356, allocations: 20.59 kB / 433.7 MB, free: 3.039 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.354e-05/0.2357, allocations: 12.31 kB / 433.7 MB, free: 3.027 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002296/0.2359, allocations: 123.6 kB / 433.8 MB, free: 2.902 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.2359, allocations: 0 / 433.8 MB, free: 2.902 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.586e-05/0.2359, allocations: 4 kB / 433.9 MB, free: 2.898 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.2359, allocations: 4 kB / 433.9 MB, free: 2.895 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000172/0.2361, allocations: 76.67 kB / 433.9 MB, free: 2.82 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008028/0.2369, allocations: 0.6018 MB / 434.5 MB, free: 2.137 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002778/0.2372, allocations: 82.62 kB / 434.6 MB, free: 2.047 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.442e-05/0.2373, allocations: 28.97 kB / 434.6 MB, free: 2.016 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.169e-05/0.2373, allocations: 0 / 434.6 MB, free: 2.016 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.2373, allocations: 38.56 kB / 434.7 MB, free: 1.969 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 9.02e-07/0.2373, allocations: 0 / 434.7 MB, free: 1.969 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006599/0.238, allocations: 259.4 kB / 434.9 MB, free: 1.688 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.365e-05/0.238, allocations: 55.34 kB / 435 MB, free: 1.621 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/0.2381, allocations: 157.7 kB / 435.1 MB, free: 1.457 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.2381, allocations: 25.7 kB / 435.2 MB, free: 1.426 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.089e-05/0.2382, allocations: 120.2 kB / 435.3 MB, free: 1.305 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.168e-05/0.2382, allocations: 23.78 kB / 435.3 MB, free: 1.281 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.015e-05/0.2383, allocations: 21.72 kB / 435.3 MB, free: 1.254 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.2384, allocations: 322.8 kB / 435.6 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.616e-05/0.2385, allocations: 27.92 kB / 435.7 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.473e-05/0.2386, allocations: 42.5 kB / 435.7 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001286/0.2387, allocations: 70.5 kB / 435.8 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.2387, allocations: 0 / 435.8 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002761/0.239, allocations: 142.3 kB / 435.9 MB, free: 0.625 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.239, allocations: 8 kB / 435.9 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.239, allocations: 0 / 435.9 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001705/0.2392, allocations: 32.84 kB / 436 MB, free: 0.582 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.482e-05/0.2392, allocations: 12.23 kB / 436 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001585/0.2408, allocations: 1.708 MB / 437.7 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.839e-05/0.2409, allocations: 3.953 kB / 437.7 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.263e-06/0.2409, allocations: 4 kB / 437.7 MB, free: 14.71 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 4 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.000101/0.241, allocations: 125.8 kB / 437.8 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.092e-05/0.241, allocations: 7.953 kB / 437.8 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.998e-05/0.241, allocations: 12.7 kB / 437.8 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.241, allocations: 8.062 kB / 437.8 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.82e-07/0.241, allocations: 0 / 437.8 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.241, allocations: 0 / 437.8 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002207/0.2412, allocations: 213.5 kB / 438 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.2412, allocations: 0 / 438 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.676e-05/0.2413, allocations: 7.984 kB / 438.1 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001166/0.2414, allocations: 32.84 kB / 438.1 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.2414, allocations: 8.125 kB / 438.1 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001351/0.2428, allocations: 1.678 MB / 439.8 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.2428, allocations: 4.031 kB / 439.8 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000295/0.2431, allocations: 216.2 kB / 440 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.867e-05/0.2431, allocations: 81.11 kB / 440.1 MB, free: 12.1 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.309e-05/0.2431, allocations: 3.984 kB / 440.1 MB, free: 12.1 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.449e-05/0.2432, allocations: 8.062 kB / 440.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.734e-05/0.2433, allocations: 15.92 kB / 440.1 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.214e-06/0.2433, allocations: 4 kB / 440.1 MB, free: 12.07 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.454e-05/0.2433, allocations: 117.6 kB / 440.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2433, allocations: 3.938 kB / 440.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003319/0.2437, allocations: 39.89 kB / 440.3 MB, free: 11.91 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 (2): * Single equations (assignments): 1 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006077/0.2443, allocations: 0.7487 MB / 441 MB, free: 11.14 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003883/0.2447, allocations: 186.6 kB / 441.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2447, allocations: 3.938 kB / 441.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002202/0.2449, allocations: 158.8 kB / 441.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002413/0.2451, allocations: 8 kB / 441.4 MB, free: 10.76 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001964/0.2471, allocations: 1.718 MB / 443.1 MB, free: 8.938 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003145/0.2474, allocations: 0.7119 MB / 443.8 MB, free: 8.199 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.673e-05/0.2475, allocations: 4.438 kB / 443.8 MB, free: 8.195 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.016e-05/0.2475, allocations: 35.42 kB / 443.8 MB, free: 8.16 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2475, allocations: 0 / 443.8 MB, free: 8.16 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03139/0.2789, allocations: 3.066 MB / 446.9 MB, free: 5.207 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.36/10.64, allocations: 17.92 kB / 446.9 MB, free: 5.199 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Resistor.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Resistor.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Resistor.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Resistor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Resistor_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_Resistor_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_Resistor.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Resistor.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.773718666001514]