Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.PID_Controller.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.001363/0.001363, allocations: 105.8 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.001468/0.001468, allocations: 222.5 kB / 22.92 MB, free: 5.531 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.536/1.536, allocations: 230.5 MB / 256.4 MB, free: 8.426 MB / 206.1 MB " [Timeout remaining time 178] 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.Blocks.Examples.PID_Controller,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_PID_Controller",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.PID_Controller,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_PID_Controller",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.001734/0.001734, allocations: 75.81 kB / 376.1 MB, free: 4.113 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1933/0.195, allocations: 53.31 MB / 429.4 MB, free: 7.449 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.PID_Controller): time 0.004135/0.1991, allocations: 3.16 MB / 432.5 MB, free: 4.273 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001605/0.2007, allocations: 1.005 MB / 433.6 MB, free: 3.262 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001673/0.2009, allocations: 15.88 kB / 433.6 MB, free: 3.246 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003049/0.2012, allocations: 91.17 kB / 433.7 MB, free: 3.156 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002028/0.2014, allocations: 103.1 kB / 433.8 MB, free: 3.055 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004975/0.2019, allocations: 242.7 kB / 434 MB, free: 2.82 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005342/0.2025, allocations: 0.5224 MB / 434.5 MB, free: 2.297 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000225/0.2027, allocations: 117.3 kB / 434.6 MB, free: 2.176 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002202/0.2029, allocations: 203.1 kB / 434.8 MB, free: 1.977 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002513/0.2032, allocations: 207 kB / 435 MB, free: 1.773 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.22e-05/0.2032, allocations: 40 kB / 435.1 MB, free: 1.734 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.404e-05/0.2033, allocations: 40 kB / 435.1 MB, free: 1.695 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001136/0.2034, allocations: 103.7 kB / 435.2 MB, free: 1.594 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002015/0.2036, allocations: 222.7 kB / 435.4 MB, free: 1.375 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004977/0.2041, allocations: 0.4904 MB / 435.9 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.2041, allocations: 0 / 435.9 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.2041, allocations: 8 kB / 435.9 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.919e-06/0.2041, allocations: 0 / 435.9 MB, free: 0.8828 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.001214/0.2053, allocations: 0.7752 MB / 436.7 MB, free: 60 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.2054, allocations: 12.03 kB / 436.7 MB, free: 48 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.867e-05/0.2055, allocations: 74.72 kB / 436.8 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.75e-05/0.2055, allocations: 52.61 kB / 436.8 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004584/0.206, allocations: 376 kB / 437.2 MB, free: 15.51 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.988e-05/0.206, allocations: 25.38 kB / 437.2 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.862e-05/0.2061, allocations: 40.36 kB / 437.3 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008267/0.2069, allocations: 455.3 kB / 437.7 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.926e-05/0.2069, allocations: 7.938 kB / 437.7 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.812e-05/0.207, allocations: 19.98 kB / 437.7 MB, free: 14.94 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.207, allocations: 12 kB / 437.8 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009532/0.2079, allocations: 375.6 kB / 438.1 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001951/0.2099, allocations: 1.567 MB / 439.7 MB, free: 12.9 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007647/0.2106, allocations: 294.7 kB / 440 MB, free: 12.6 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004178/0.2111, allocations: 160.7 kB / 440.1 MB, free: 12.44 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.52e-05/0.2111, allocations: 7.984 kB / 440.1 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/0.2111, allocations: 34.5 kB / 440.2 MB, free: 12.39 MB / 350.1 MB Notification: Performance of pre-optimization done (n=30): time 1.242e-06/0.2111, allocations: 0 / 440.2 MB, free: 12.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.003114/0.2142, allocations: 1.385 MB / 441.6 MB, free: 10.91 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.471e-05/0.2143, allocations: 106.8 kB / 441.7 MB, free: 10.78 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003638/0.2147, allocations: 365.5 kB / 442 MB, free: 10.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.819e-05/0.2147, allocations: 29.7 kB / 442 MB, free: 10.38 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000168/0.2148, allocations: 244.3 kB / 442.3 MB, free: 10.13 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.703e-05/0.2149, allocations: 127.1 kB / 442.4 MB, free: 10.01 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001186/0.2151, allocations: 78.12 kB / 442.5 MB, free: 9.926 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.2152, allocations: 354.7 kB / 442.8 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004596/0.2157, allocations: 170.4 kB / 443 MB, free: 9.402 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005152/0.2162, allocations: 261.7 kB / 443.3 MB, free: 9.113 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008804/0.2171, allocations: 395.9 kB / 443.6 MB, free: 8.699 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.2171, allocations: 0 / 443.6 MB, free: 8.699 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001048/0.2181, allocations: 493 kB / 444.1 MB, free: 8.211 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.2181, allocations: 4 kB / 444.1 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.2181, allocations: 4 kB / 444.1 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.2182, allocations: 4 kB / 444.1 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008505/0.219, allocations: 211.9 kB / 444.3 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001678/0.2207, allocations: 1.573 MB / 445.9 MB, free: 6.285 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00031/0.221, allocations: 44.05 kB / 446 MB, free: 6.242 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.416e-05/0.221, allocations: 12 kB / 446 MB, free: 6.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005076/0.2215, allocations: 276.8 kB / 446.2 MB, free: 5.957 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004594/0.222, allocations: 249.7 kB / 446.5 MB, free: 5.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000799/0.2228, allocations: 371.6 kB / 446.8 MB, free: 5.289 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.356e-06/0.2228, allocations: 4 kB / 446.9 MB, free: 5.285 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization_lambda0): time 0.0009951/0.2238, allocations: 473.2 kB / 447.3 MB, free: 4.816 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.584e-06/0.2238, allocations: 4 kB / 447.3 MB, free: 4.812 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.2238, allocations: 7.984 kB / 447.3 MB, free: 4.805 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.739e-06/0.2238, allocations: 4 kB / 447.3 MB, free: 4.801 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004732/0.2243, allocations: 119.8 kB / 447.4 MB, free: 4.684 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.2243, allocations: 7.938 kB / 447.5 MB, free: 4.676 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002938/0.2246, allocations: 43.98 kB / 447.5 MB, free: 4.633 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.255e-05/0.2246, allocations: 16 kB / 447.5 MB, free: 4.617 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 3 (kinematicPTP.noWphase,integrator.local_reset,PI.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001415/0.2247, allocations: 192.2 kB / 447.7 MB, free: 4.422 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.792e-05/0.2248, allocations: 47.72 kB / 447.7 MB, free: 4.375 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.346e-05/0.2249, allocations: 48.17 kB / 447.8 MB, free: 4.328 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.2249, allocations: 4 kB / 447.8 MB, free: 4.324 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.2249, allocations: 0 / 447.8 MB, free: 4.324 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.2249, allocations: 7.938 kB / 447.8 MB, free: 4.316 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001566/0.2265, allocations: 0.9155 MB / 448.7 MB, free: 3.332 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.2265, allocations: 4 kB / 448.7 MB, free: 3.328 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004046/0.2269, allocations: 83.86 kB / 448.8 MB, free: 3.246 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.2269, allocations: 4 kB / 448.8 MB, free: 3.242 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.128e-05/0.2269, allocations: 11.94 kB / 448.8 MB, free: 3.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.2269, allocations: 3.938 kB / 448.8 MB, free: 3.227 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2269, allocations: 4 kB / 448.8 MB, free: 3.223 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001378/0.2283, allocations: 0.6712 MB / 449.5 MB, free: 2.523 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001377/0.2284, allocations: 140.8 kB / 449.6 MB, free: 2.367 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.302e-05/0.2285, allocations: 12 kB / 449.7 MB, free: 2.355 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002892/0.2288, allocations: 31.97 kB / 449.7 MB, free: 2.324 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.125e-05/0.2288, allocations: 31.89 kB / 449.7 MB, free: 2.293 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.434e-05/0.2288, allocations: 4 kB / 449.7 MB, free: 2.289 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002465/0.2291, allocations: 255.1 kB / 450 MB, free: 2.039 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2291, allocations: 0 / 450 MB, free: 2.039 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004851/0.2296, allocations: 132 kB / 450.1 MB, free: 1.91 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (PI.I.y,inertia1.phi,spring.phi_rel,spring.w_rel,inertia2.w,integrator.y) * Number of discrete variables: 1 (kinematicPTP.noWphase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00169/0.2313, allocations: 1.216 MB / 451.3 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001812/0.2331, allocations: 0.6563 MB / 452 MB, free: 15.99 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.2331, allocations: 4 kB / 452 MB, free: 15.99 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000435/0.2335, allocations: 176.3 kB / 452.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005727/0.2341, allocations: 100.2 kB / 452.2 MB, free: 15.73 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00588/0.24, allocations: 4.015 MB / 456.3 MB, free: 11.56 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004221/0.2404, allocations: 0.8195 MB / 457.1 MB, free: 10.71 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002173/0.2406, allocations: 63.22 kB / 457.1 MB, free: 10.65 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002041/0.2408, allocations: 139.4 kB / 457.3 MB, free: 10.52 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2408, allocations: 4 kB / 457.3 MB, free: 10.51 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03467/0.2755, allocations: 8.772 MB / 466 MB, free: 1.879 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.5/10.77, allocations: 2.406 kB / 466.1 MB, free: 1.879 MB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.PID_Controller.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.PID_Controller.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.PID_Controller.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.PID_Controller.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.PID_Controller_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_PID_Controller_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_PID_Controller.fmu > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.PID_Controller.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.126285147998715]