Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BidiDCDC_BidiDCDC.Examples.TransferFunction.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.000774/0.000774, 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.0007739/0.0007739, 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.8655/0.8655, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BidiDCDC main/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BidiDCDC main/package.mo:2:1-29:13:writable] Warning: Types was referenced in the package.order file, but was not found in package.mo, Types/package.mo or Types.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BidiDCDC main/package.mo): time 0.002755/0.002755, allocations: 0.6544 MB / 259.8 MB, free: 12.59 MB / 250.7 MB " [Timeout remaining time 180] Using package BidiDCDC with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BidiDCDC main/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(BidiDCDC.Examples.TransferFunction,fileNamePrefix="BidiDCDC_BidiDCDC_Examples_TransferFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BidiDCDC.Examples.TransferFunction,fileNamePrefix="BidiDCDC_BidiDCDC_Examples_TransferFunction",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.324e-06/2.324e-06, allocations: 0 / 382.1 MB, free: 14.55 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.618e-05/2.85e-05, allocations: 6.281 kB / 382.1 MB, free: 14.54 MB / 314.7 MB Notification: Performance of NFInst.instantiate(BidiDCDC.Examples.TransferFunction): time 0.002456/0.002485, allocations: 1.599 MB / 383.7 MB, free: 12.93 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007571/0.003242, allocations: 0.4987 MB / 384.2 MB, free: 12.43 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.467e-05/0.003317, allocations: 0 / 384.2 MB, free: 12.43 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003049/0.003622, allocations: 19.86 kB / 384.3 MB, free: 12.41 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001172/0.003739, allocations: 31.78 kB / 384.3 MB, free: 12.38 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001514/0.00389, allocations: 63.83 kB / 384.4 MB, free: 12.31 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001559/0.004046, allocations: 111.7 kB / 384.5 MB, free: 12.2 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.00415, allocations: 11.98 kB / 384.5 MB, free: 12.19 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.608e-05/0.004236, allocations: 71.75 kB / 384.5 MB, free: 12.12 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001108/0.004347, allocations: 75.83 kB / 384.6 MB, free: 12.05 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.104e-05/0.004378, allocations: 12 kB / 384.6 MB, free: 12.04 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.848e-05/0.004396, allocations: 12 kB / 384.6 MB, free: 12.02 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.362e-05/0.00447, allocations: 51.88 kB / 384.7 MB, free: 11.97 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.357e-05/0.004514, allocations: 39.86 kB / 384.7 MB, free: 11.93 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001912/0.004705, allocations: 143.5 kB / 384.9 MB, free: 11.79 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.00471, allocations: 7.938 kB / 384.9 MB, free: 11.79 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.004711, allocations: 0 / 384.9 MB, free: 11.79 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.004717, allocations: 0 / 384.9 MB, free: 11.79 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007254/0.005442, allocations: 441.5 kB / 385.3 MB, free: 11.32 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.00548, allocations: 8.031 kB / 385.3 MB, free: 11.32 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.396e-05/0.005514, allocations: 38.75 kB / 385.4 MB, free: 11.27 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.941e-05/0.005543, allocations: 24.8 kB / 385.4 MB, free: 11.25 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002724/0.005816, allocations: 209.2 kB / 385.6 MB, free: 11.02 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.005826, allocations: 8.375 kB / 385.6 MB, free: 11.01 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.558e-05/0.005852, allocations: 8.359 kB / 385.6 MB, free: 11 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001783/0.00603, allocations: 121.1 kB / 385.7 MB, free: 10.88 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.006042, allocations: 4.188 kB / 385.7 MB, free: 10.88 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.204e-05/0.006124, allocations: 8.125 kB / 385.7 MB, free: 10.87 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.00613, allocations: 0 / 385.7 MB, free: 10.87 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001737/0.006303, allocations: 127.9 kB / 385.9 MB, free: 10.74 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005386/0.006842, allocations: 427.6 kB / 386.3 MB, free: 10.28 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001486/0.006991, allocations: 122.5 kB / 386.4 MB, free: 10.15 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.035e-05/0.007081, allocations: 76.8 kB / 386.5 MB, free: 10.07 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.424e-05/0.007095, allocations: 4 kB / 386.5 MB, free: 10.07 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/0.007117, allocations: 34.5 kB / 386.5 MB, free: 10.03 MB / 314.7 MB Notification: Performance of pre-optimization done (n=11): time 9.82e-07/0.007118, allocations: 0 / 386.5 MB, free: 10.03 MB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003634/0.007481, allocations: 253.6 kB / 386.8 MB, free: 9.773 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.684e-05/0.007508, allocations: 55.41 kB / 386.8 MB, free: 9.707 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002094/0.007718, allocations: 231.5 kB / 387 MB, free: 9.469 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.007732, allocations: 29.7 kB / 387.1 MB, free: 9.434 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.317e-05/0.007785, allocations: 108.1 kB / 387.2 MB, free: 9.324 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.196e-05/0.007817, allocations: 43.78 kB / 387.2 MB, free: 9.281 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.898e-05/0.007856, allocations: 33.7 kB / 387.2 MB, free: 9.242 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002093/0.008065, allocations: 322.8 kB / 387.6 MB, free: 8.918 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.862e-05/0.008164, allocations: 79.94 kB / 387.6 MB, free: 8.84 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.548e-05/0.008249, allocations: 75.94 kB / 387.7 MB, free: 8.766 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000183/0.008432, allocations: 172.2 kB / 387.9 MB, free: 8.598 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.008434, allocations: 0 / 387.9 MB, free: 8.598 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002214/0.008655, allocations: 205.5 kB / 388.1 MB, free: 8.391 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.008667, allocations: 4 kB / 388.1 MB, free: 8.387 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.008672, allocations: 4 kB / 388.1 MB, free: 8.383 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.008685, allocations: 7.938 kB / 388.1 MB, free: 8.375 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.008794, allocations: 39.91 kB / 388.1 MB, free: 8.336 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.319e-06/0.008798, allocations: 0 / 388.1 MB, free: 8.336 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.852e-05/0.008877, allocations: 31.86 kB / 388.2 MB, free: 8.305 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.255e-06/0.008885, allocations: 4 kB / 388.2 MB, free: 8.301 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (14): * Single equations (assignments): 14 * 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 7.517e-05/0.00896, allocations: 129.8 kB / 388.3 MB, free: 8.164 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.958e-05/0.00898, allocations: 19.84 kB / 388.3 MB, free: 8.145 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.601e-05/0.009016, allocations: 33.45 kB / 388.3 MB, free: 8.117 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.009018, allocations: 4 kB / 388.4 MB, free: 8.113 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.009022, allocations: 0 / 388.4 MB, free: 8.113 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.009025, allocations: 0 / 388.4 MB, free: 8.113 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001726/0.009197, allocations: 200.6 kB / 388.5 MB, free: 7.875 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.009198, allocations: 0 / 388.5 MB, free: 7.875 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.2e-05/0.00929, allocations: 27.92 kB / 388.6 MB, free: 7.848 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.009293, allocations: 4 kB / 388.6 MB, free: 7.844 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.009304, allocations: 7.984 kB / 388.6 MB, free: 7.836 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.009306, allocations: 3.984 kB / 388.6 MB, free: 7.832 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.009307, allocations: 4 kB / 388.6 MB, free: 7.828 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003431/0.00965, allocations: 375.1 kB / 389 MB, free: 7.445 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.939e-05/0.009669, allocations: 19.84 kB / 389 MB, free: 7.426 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.684e-05/0.009686, allocations: 4 kB / 389 MB, free: 7.422 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.143e-05/0.009777, allocations: 28 kB / 389 MB, free: 7.395 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.871e-05/0.009816, allocations: 7.984 kB / 389 MB, free: 7.387 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.00982, allocations: 0 / 389 MB, free: 7.387 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001466/0.009967, allocations: 176.4 kB / 389.2 MB, free: 7.215 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009967, allocations: 0 / 389.2 MB, free: 7.215 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001533/0.01012, allocations: 28 kB / 389.2 MB, free: 7.188 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (transferFunction.x_scaled[1],transferFunction.x_scaled[2],transferFunction.x_scaled[3]) * 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 (11): * Single equations (assignments): 11 * 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.0004825/0.0106, allocations: 0.8957 MB / 390.1 MB, free: 6.266 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002185/0.01082, allocations: 164.5 kB / 390.3 MB, free: 6.105 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.01082, allocations: 0 / 390.3 MB, free: 6.105 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.63e-05/0.01091, allocations: 75.95 kB / 390.3 MB, free: 6.031 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002079/0.01112, allocations: 16.2 kB / 390.4 MB, free: 6.016 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002084/0.0132, allocations: 2.253 MB / 392.6 MB, free: 3.668 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.532e-05/0.01328, allocations: 118.2 kB / 392.7 MB, free: 3.531 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.546e-05/0.01334, allocations: 32.94 kB / 392.8 MB, free: 3.496 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.521e-05/0.01341, allocations: 44.48 kB / 392.8 MB, free: 3.453 MB / 314.7 MB Notification: Performance of SimCode: time 4.21e-07/0.01341, allocations: 3.938 kB / 392.8 MB, free: 3.449 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01613/0.02954, allocations: 4.195 MB / 397 MB, free: 15.39 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.374/6.404, allocations: 0 / 397 MB, free: 15.39 MB / 330.7 MB " [Timeout remaining time 654] (rm -f BidiDCDC_BidiDCDC.Examples.TransferFunction.pipe ; mkfifo BidiDCDC_BidiDCDC.Examples.TransferFunction.pipe ; head -c 1048576 < BidiDCDC_BidiDCDC.Examples.TransferFunction.pipe >> ../files/BidiDCDC_BidiDCDC.Examples.TransferFunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BidiDCDC_BidiDCDC_Examples_TransferFunction_fmu --startTime=0 --stopTime=0.04 --stepSize=2e-06 --timeout=50 --tolerance=1e-06 BidiDCDC_BidiDCDC_Examples_TransferFunction.fmu > BidiDCDC_BidiDCDC.Examples.TransferFunction.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 8.020286419428885] Failed to read output from testmodel.py, exit status != 0: 6.478926909156144 6.486187189 6.47985798 Calling exit ...