Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009798/0.0009798, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8885/0.8885, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo): time 0.03552/0.03552, allocations: 8.604 MB / 267.8 MB, free: 5.121 MB / 250.7 MB " [Timeout remaining time 180] Using package IndustrialControlSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IndustrialControlSystems.Controllers.Examples.TestPID_bias,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestPID_bias",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.Examples.TestPID_bias,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestPID_bias",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 395.1 MB, free: 2.672 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.574e-05/1.733e-05, allocations: 5.234 kB / 395.1 MB, free: 2.668 MB / 362.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_bias): time 0.002351/0.002368, allocations: 2.159 MB / 397.2 MB, free: 0.4922 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001064/0.003432, allocations: 0.6947 MB / 397.9 MB, free: 15.8 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001971/0.003629, allocations: 27.69 kB / 398 MB, free: 15.77 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000189/0.003818, allocations: 67.27 kB / 398 MB, free: 15.7 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001832/0.004001, allocations: 59.36 kB / 398.1 MB, free: 15.64 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006824/0.004684, allocations: 403.1 kB / 398.5 MB, free: 15.25 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004364/0.00512, allocations: 0.5437 MB / 399 MB, free: 14.71 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001455/0.005266, allocations: 65.19 kB / 399.1 MB, free: 14.64 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002421/0.005508, allocations: 279.3 kB / 399.4 MB, free: 14.37 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001931/0.005701, allocations: 171.4 kB / 399.5 MB, free: 14.2 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.388e-05/0.005745, allocations: 36 kB / 399.6 MB, free: 14.16 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.318e-05/0.005778, allocations: 32 kB / 399.6 MB, free: 14.13 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000106/0.005884, allocations: 143.5 kB / 399.7 MB, free: 13.99 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.92e-05/0.005973, allocations: 123.6 kB / 399.8 MB, free: 13.87 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004081/0.006381, allocations: 434.5 kB / 400.3 MB, free: 13.45 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.006384, allocations: 4 kB / 400.3 MB, free: 13.44 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.006385, allocations: 4 kB / 400.3 MB, free: 13.44 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.294e-06/0.006392, allocations: 0 / 400.3 MB, free: 13.44 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001249/0.007641, allocations: 0.7464 MB / 401 MB, free: 12.65 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.007678, allocations: 8.031 kB / 401 MB, free: 12.64 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.207e-05/0.00774, allocations: 78.7 kB / 401.1 MB, free: 12.56 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.57e-05/0.007806, allocations: 60.56 kB / 401.2 MB, free: 12.5 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004191/0.008225, allocations: 378.2 kB / 401.5 MB, free: 12.11 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.219e-05/0.008287, allocations: 84.97 kB / 401.6 MB, free: 12.01 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.194e-05/0.008339, allocations: 52.31 kB / 401.7 MB, free: 11.96 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005206/0.00886, allocations: 0.4928 MB / 402.2 MB, free: 11.43 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.016e-05/0.00888, allocations: 12.17 kB / 402.2 MB, free: 11.42 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.535e-05/0.008905, allocations: 16.38 kB / 402.2 MB, free: 11.4 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/0.008916, allocations: 15.94 kB / 402.2 MB, free: 11.39 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004148/0.009331, allocations: 363.6 kB / 402.6 MB, free: 11.03 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001743/0.01107, allocations: 1.94 MB / 404.5 MB, free: 9.004 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005972/0.01167, allocations: 295.1 kB / 404.8 MB, free: 8.707 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001956/0.01187, allocations: 162.2 kB / 404.9 MB, free: 8.547 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.846e-05/0.0119, allocations: 4.281 kB / 405 MB, free: 8.543 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.858e-05/0.01191, allocations: 34.84 kB / 405 MB, free: 8.5 MB / 378.7 MB Notification: Performance of pre-optimization done (n=33): time 1.523e-06/0.01192, allocations: 0 / 405 MB, free: 8.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=33): time 0.0005501/0.01247, allocations: 453.8 kB / 405.4 MB, free: 8.051 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.021e-05/0.0125, allocations: 51.41 kB / 405.5 MB, free: 7.988 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003127/0.01281, allocations: 461.7 kB / 405.9 MB, free: 7.531 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.01283, allocations: 37.7 kB / 406 MB, free: 7.488 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001399/0.01297, allocations: 264.2 kB / 406.2 MB, free: 7.223 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.477e-05/0.01303, allocations: 130.9 kB / 406.4 MB, free: 7.094 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.094e-05/0.01312, allocations: 98.12 kB / 406.5 MB, free: 6.992 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.01323, allocations: 366.7 kB / 406.8 MB, free: 6.625 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001623/0.0134, allocations: 129.1 kB / 406.9 MB, free: 6.496 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002217/0.01362, allocations: 279 kB / 407.2 MB, free: 6.16 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001306/0.01492, allocations: 0.8358 MB / 408 MB, free: 5.262 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.01493, allocations: 3.938 kB / 408 MB, free: 5.258 MB / 378.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0005508/0.01548, allocations: 0.5404 MB / 408.6 MB, free: 4.711 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.0155, allocations: 11.94 kB / 408.6 MB, free: 4.699 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.0155, allocations: 8 kB / 408.6 MB, free: 4.691 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.01552, allocations: 8 kB / 408.6 MB, free: 4.684 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002625/0.01578, allocations: 123.8 kB / 408.7 MB, free: 4.562 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.01579, allocations: 8 kB / 408.7 MB, free: 4.555 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001155/0.01591, allocations: 55.61 kB / 408.8 MB, free: 4.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.104e-05/0.01593, allocations: 24 kB / 408.8 MB, free: 4.477 MB / 378.7 MB Warning: Assuming fixed start value for the following 9 variables: ProcessBias.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real ProcessBias.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] ProcessBias.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] processNoCtrl.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real processNoCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] processNoCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessCtrl.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real ProcessCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] ProcessCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 8 (R_Bias.TS_in,R.TS_in,R_Bias.satLOW_in,R_Bias.satHIGH_in,R_Bias.ATreq_in,R.satLOW_in,R.satHIGH_in,R.ATreq_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 65 * 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 prepare postOptimizeDAE: time 0.0001879/0.01612, allocations: 215.5 kB / 409 MB, free: 4.258 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.06e-05/0.01616, allocations: 43.72 kB / 409.1 MB, free: 4.215 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004769/0.01663, allocations: 413.8 kB / 409.5 MB, free: 3.805 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/0.01664, allocations: 4 kB / 409.5 MB, free: 3.801 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.01664, allocations: 0 / 409.5 MB, free: 3.801 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.01665, allocations: 3.984 kB / 409.5 MB, free: 3.797 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003335/0.01698, allocations: 400.1 kB / 409.9 MB, free: 3.363 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.01698, allocations: 0 / 409.9 MB, free: 3.363 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002822/0.01726, allocations: 99.88 kB / 410 MB, free: 3.266 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.01727, allocations: 7.984 kB / 410 MB, free: 3.258 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.952e-05/0.01729, allocations: 8 kB / 410 MB, free: 3.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.01729, allocations: 7.938 kB / 410 MB, free: 3.242 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.01729, allocations: 0 / 410 MB, free: 3.242 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006133/0.0179, allocations: 0.6251 MB / 410.6 MB, free: 2.605 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.423e-05/0.01795, allocations: 47.61 kB / 410.7 MB, free: 2.559 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.642e-05/0.01799, allocations: 23.92 kB / 410.7 MB, free: 2.535 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.394e-05/0.01807, allocations: 11.98 kB / 410.7 MB, free: 2.523 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.345e-05/0.01812, allocations: 23.95 kB / 410.7 MB, free: 2.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/0.01813, allocations: 12 kB / 410.7 MB, free: 2.488 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002224/0.01836, allocations: 303.1 kB / 411 MB, free: 2.191 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01836, allocations: 0 / 411 MB, free: 2.191 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002574/0.01861, allocations: 83.84 kB / 411.1 MB, free: 2.109 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 13 (R.Iaction,R.Fder,R_Bias.Iaction,R_Bias.Fder,ProcessCtrl.Y[3],ProcessCtrl.U[2],ProcessCtrl.w,processNoCtrl.Y[3],processNoCtrl.U[2],processNoCtrl.w,ProcessBias.Y[3],ProcessBias.U[2],ProcessBias.w) * 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 (37): * Single equations (assignments): 37 * 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.0007751/0.01939, allocations: 1.178 MB / 412.3 MB, free: 0.8984 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009685/0.02036, allocations: 363.7 kB / 412.7 MB, free: 0.543 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.02036, allocations: 0 / 412.7 MB, free: 0.543 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001656/0.02053, allocations: 167.5 kB / 412.8 MB, free: 388 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002662/0.02079, allocations: 43.09 kB / 412.9 MB, free: 348 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003621/0.02441, allocations: 4.188 MB / 417 MB, free: 11.94 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001777/0.02459, allocations: 272.2 kB / 417.3 MB, free: 11.65 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003338/0.02492, allocations: 92.2 kB / 417.4 MB, free: 11.56 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001803/0.0251, allocations: 176.4 kB / 417.6 MB, free: 11.39 MB / 394.7 MB Notification: Performance of SimCode: time 7.41e-07/0.02511, allocations: 0 / 417.6 MB, free: 11.39 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02391/0.04901, allocations: 8.334 MB / 425.9 MB, free: 3.215 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.091/7.14, allocations: 11.14 kB / 425.9 MB, free: 3.207 MB / 394.7 MB " [Timeout remaining time 653] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestPID_bias_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestPID_bias.fmu > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.902914034202695] Failed to read output from testmodel.py, exit status != 0: 7.22413145750761 7.234475971 7.225769312 Calling exit ...