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.001673/0.001673, allocations: 97.88 kB / 19.73 MB, free: 2.117 MB / 14.72 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.002126/0.002126, allocations: 217.1 kB / 23.03 MB, free: 4.922 MB / 14.72 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 1.523/1.523, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] 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.004569/0.004569, allocations: 0.895 MB / 314.1 MB, free: 1.992 MB / 238.1 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BidiDCDC.Examples.TransferFunction,fileNamePrefix="BidiDCDC_BidiDCDC_Examples_TransferFunction",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: BidiDCDC requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002008/0.002008, allocations: 67.91 kB / 436.3 MB, free: 16.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1073, allocations: 53.6 MB / 489.9 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BidiDCDC.Examples.TransferFunction): time 0.003227/0.1106, allocations: 1.596 MB / 491.5 MB, free: 9.184 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001057/0.1116, allocations: 490.8 kB / 492 MB, free: 8.699 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.428e-05/0.1117, allocations: 0 / 492 MB, free: 8.699 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003132/0.112, allocations: 27.78 kB / 492 MB, free: 8.672 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001732/0.1122, allocations: 39.78 kB / 492.1 MB, free: 8.633 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002131/0.1124, allocations: 47.92 kB / 492.1 MB, free: 8.586 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002761/0.1127, allocations: 155.7 kB / 492.3 MB, free: 8.434 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.1128, allocations: 23.92 kB / 492.3 MB, free: 8.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001285/0.1129, allocations: 59.77 kB / 492.4 MB, free: 8.352 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001796/0.1131, allocations: 95.69 kB / 492.4 MB, free: 8.258 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.823e-05/0.1132, allocations: 12 kB / 492.5 MB, free: 8.246 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.022e-05/0.1132, allocations: 15.94 kB / 492.5 MB, free: 8.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001066/0.1133, allocations: 55.81 kB / 492.5 MB, free: 8.176 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.338e-05/0.1134, allocations: 43.73 kB / 492.6 MB, free: 8.133 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002215/0.1136, allocations: 147.4 kB / 492.7 MB, free: 7.988 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1136, allocations: 0 / 492.7 MB, free: 7.988 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1136, allocations: 0 / 492.7 MB, free: 7.988 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.149e-05/0.1136, allocations: 0 / 492.7 MB, free: 7.988 MB / 350.1 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.001194/0.1148, allocations: 445.5 kB / 493.2 MB, free: 7.523 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.1148, allocations: 12.03 kB / 493.2 MB, free: 7.512 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.562e-05/0.1149, allocations: 192 / 493.2 MB, free: 7.512 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.508e-05/0.1149, allocations: 42.73 kB / 493.2 MB, free: 7.461 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.258e-05/0.115, allocations: 20.8 kB / 493.2 MB, free: 7.441 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004968/0.1155, allocations: 202.2 kB / 493.4 MB, free: 7.219 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.1155, allocations: 8.375 kB / 493.4 MB, free: 7.211 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.235e-05/0.1155, allocations: 8.375 kB / 493.4 MB, free: 7.203 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002867/0.1158, allocations: 132.4 kB / 493.6 MB, free: 7.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.1158, allocations: 4 kB / 493.6 MB, free: 7.066 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.549e-05/0.1158, allocations: 4 kB / 493.6 MB, free: 7.062 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.1158, allocations: 0 / 493.6 MB, free: 7.062 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003194/0.1161, allocations: 123.9 kB / 493.7 MB, free: 6.941 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009045/0.117, allocations: 435.6 kB / 494.1 MB, free: 6.473 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002688/0.1173, allocations: 122.4 kB / 494.2 MB, free: 6.344 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001625/0.1175, allocations: 72.81 kB / 494.3 MB, free: 6.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.112e-05/0.1175, allocations: 4 kB / 494.3 MB, free: 6.266 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.385e-05/0.1175, allocations: 38.55 kB / 494.4 MB, free: 6.219 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.282e-06/0.1175, allocations: 0 / 494.4 MB, free: 6.219 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0006224/0.1182, allocations: 253.6 kB / 494.6 MB, free: 5.965 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.046e-05/0.1182, allocations: 55.34 kB / 494.7 MB, free: 5.898 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004055/0.1186, allocations: 223.2 kB / 494.9 MB, free: 5.668 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.272e-05/0.1186, allocations: 25.7 kB / 494.9 MB, free: 5.637 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.342e-05/0.1187, allocations: 116.1 kB / 495 MB, free: 5.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.061e-05/0.1188, allocations: 43.78 kB / 495.1 MB, free: 5.477 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.932e-05/0.1188, allocations: 33.7 kB / 495.1 MB, free: 5.438 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.119, allocations: 326.8 kB / 495.4 MB, free: 5.109 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001662/0.1192, allocations: 75.94 kB / 495.5 MB, free: 5.035 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001621/0.1193, allocations: 79.94 kB / 495.6 MB, free: 4.957 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003089/0.1196, allocations: 156.8 kB / 495.7 MB, free: 4.801 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1196, allocations: 4 kB / 495.7 MB, free: 4.797 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004452/0.1201, allocations: 213.1 kB / 495.9 MB, free: 4.586 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.1201, allocations: 4 kB / 495.9 MB, free: 4.582 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.1201, allocations: 0 / 495.9 MB, free: 4.582 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.1201, allocations: 0 / 495.9 MB, free: 4.582 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001926/0.1203, allocations: 39.91 kB / 496 MB, free: 4.543 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.1203, allocations: 0 / 496 MB, free: 4.543 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001984/0.1205, allocations: 35.86 kB / 496 MB, free: 4.508 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.551e-05/0.1205, allocations: 7.938 kB / 496 MB, free: 4.5 MB / 350.1 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 0.0001174/0.1206, allocations: 129.8 kB / 496.1 MB, free: 4.363 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.385e-05/0.1207, allocations: 15.91 kB / 496.2 MB, free: 4.348 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.106e-05/0.1207, allocations: 33.33 kB / 496.2 MB, free: 4.312 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.1208, allocations: 4 kB / 496.2 MB, free: 4.309 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.1208, allocations: 0 / 496.2 MB, free: 4.309 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.1208, allocations: 0 / 496.2 MB, free: 4.309 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000291/0.1211, allocations: 204.6 kB / 496.4 MB, free: 4.066 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1211, allocations: 4 kB / 496.4 MB, free: 4.062 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001891/0.1212, allocations: 23.98 kB / 496.4 MB, free: 4.039 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.1212, allocations: 4 kB / 496.4 MB, free: 4.035 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.116e-05/0.1213, allocations: 7.984 kB / 496.4 MB, free: 4.027 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1213, allocations: 0 / 496.4 MB, free: 4.027 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1213, allocations: 0 / 496.4 MB, free: 4.027 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006353/0.1219, allocations: 387.1 kB / 496.8 MB, free: 3.633 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.485e-05/0.1219, allocations: 11.91 kB / 496.8 MB, free: 3.621 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.078e-05/0.122, allocations: 8 kB / 496.8 MB, free: 3.613 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002284/0.1222, allocations: 28 kB / 496.9 MB, free: 3.586 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.309e-05/0.1223, allocations: 7.984 kB / 496.9 MB, free: 3.578 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.137e-06/0.1223, allocations: 0 / 496.9 MB, free: 3.578 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003235/0.1226, allocations: 176.3 kB / 497 MB, free: 3.406 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1226, allocations: 0 / 497 MB, free: 3.406 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002598/0.1229, allocations: 31.94 kB / 497.1 MB, free: 3.375 MB / 350.1 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.000958/0.1238, allocations: 0.9037 MB / 498 MB, free: 2.445 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003764/0.1242, allocations: 151.9 kB / 498.1 MB, free: 2.297 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1242, allocations: 0 / 498.1 MB, free: 2.297 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000174/0.1244, allocations: 84.55 kB / 498.2 MB, free: 2.215 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003258/0.1247, allocations: 26.73 kB / 498.2 MB, free: 2.191 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003566/0.1283, allocations: 2.25 MB / 0.4887 GB, free: 15.85 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001312/0.1284, allocations: 114.1 kB / 0.4889 GB, free: 15.72 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001272/0.1285, allocations: 36.94 kB / 0.4889 GB, free: 15.68 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001101/0.1286, allocations: 43.42 kB / 0.4889 GB, free: 15.63 MB / 366.1 MB Notification: Performance of SimCode: time 9.12e-07/0.1286, allocations: 0 / 0.4889 GB, free: 15.63 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02538/0.154, allocations: 3.695 MB / 0.4925 GB, free: 12.1 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.52, allocations: 10.41 kB / 0.4925 GB, free: 12.09 MB / 366.1 MB " [Timeout remaining time 648] (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: 14.417971336981282] Failed to read output from testmodel.py, exit status != 0: 11.67733243398834 11.885298367 11.582619192 Calling exit ...