Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion.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.001758/0.001758, allocations: 108.8 kB / 19.16 MB, free: 3.871 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.002124/0.002124, allocations: 205.6 kB / 22.12 MB, free: 0.9297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.397/1.397, allocations: 207.6 MB / 232.5 MB, free: 3.746 MB / 174.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Electrical.Analog.Examples.AD_DA_conversion,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_AD_DA_conversion",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AD_DA_conversion,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_AD_DA_conversion",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.001848/0.001848, allocations: 51.92 kB / 343 MB, free: 9.965 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09175/0.0936, allocations: 49.12 MB / 392.1 MB, free: 8.676 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.00417/0.09777, allocations: 2.338 MB / 394.5 MB, free: 6.328 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001448/0.09921, allocations: 0.7251 MB / 395.2 MB, free: 5.594 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001794/0.09939, allocations: 7.938 kB / 395.2 MB, free: 5.586 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001804/0.09957, allocations: 27.72 kB / 395.2 MB, free: 5.559 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001519/0.09973, allocations: 59.48 kB / 395.3 MB, free: 5.5 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003962/0.1001, allocations: 87.77 kB / 395.4 MB, free: 5.414 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003926/0.1005, allocations: 267 kB / 395.6 MB, free: 5.152 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002241/0.1007, allocations: 94.97 kB / 395.7 MB, free: 5.059 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002135/0.101, allocations: 111.6 kB / 395.8 MB, free: 4.949 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001743/0.1011, allocations: 123.5 kB / 395.9 MB, free: 4.828 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.905e-05/0.1012, allocations: 20 kB / 396 MB, free: 4.809 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.52e-05/0.1012, allocations: 24 kB / 396 MB, free: 4.785 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.797e-05/0.1013, allocations: 51.78 kB / 396 MB, free: 4.734 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001443/0.1014, allocations: 115.5 kB / 396.2 MB, free: 4.621 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003739/0.1018, allocations: 286.8 kB / 396.4 MB, free: 4.34 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.1018, allocations: 0 / 396.4 MB, free: 4.34 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1018, allocations: 0 / 396.4 MB, free: 4.34 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.905e-06/0.1018, allocations: 0 / 396.4 MB, free: 4.34 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.001132/0.103, allocations: 0.6715 MB / 397.1 MB, free: 3.602 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.103, allocations: 16.02 kB / 397.1 MB, free: 3.586 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.237e-05/0.103, allocations: 8.188 kB / 397.1 MB, free: 3.578 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.174e-05/0.1031, allocations: 58.67 kB / 397.2 MB, free: 3.512 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.709e-05/0.1032, allocations: 28.75 kB / 397.2 MB, free: 3.484 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003379/0.1035, allocations: 237.6 kB / 397.4 MB, free: 3.215 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.947e-05/0.1036, allocations: 58.12 kB / 397.5 MB, free: 3.152 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.647e-05/0.1036, allocations: 24.12 kB / 397.5 MB, free: 3.129 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005836/0.1042, allocations: 252.2 kB / 397.8 MB, free: 2.879 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.1042, allocations: 3.984 kB / 397.8 MB, free: 2.875 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.637e-05/0.1042, allocations: 4 kB / 397.8 MB, free: 2.871 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.1042, allocations: 4 kB / 397.8 MB, free: 2.867 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005177/0.1048, allocations: 211.9 kB / 398 MB, free: 2.656 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001355/0.1061, allocations: 0.7526 MB / 398.7 MB, free: 1.844 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005949/0.1067, allocations: 259.2 kB / 399 MB, free: 1.582 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004398/0.1072, allocations: 188.9 kB / 399.2 MB, free: 1.395 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.1072, allocations: 0 / 399.2 MB, free: 1.395 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005809/0.1078, allocations: 316.3 kB / 399.5 MB, free: 1.055 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 1.523e-06/0.1078, allocations: 0 / 399.5 MB, free: 1.055 MB / 318.1 MB Notification: Performance of matching and sorting (n=31): time 0.001322/0.1091, allocations: 0.5827 MB / 400.1 MB, free: 464 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001998/0.1093, allocations: 199.9 kB / 400.3 MB, free: 220 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002236/0.1095, allocations: 183.1 kB / 400.4 MB, free: 28 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.362e-05/0.1096, allocations: 45.69 kB / 400.5 MB, free: 15.98 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001352/0.1097, allocations: 132.8 kB / 400.6 MB, free: 15.84 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.896e-05/0.1098, allocations: 87.36 kB / 400.7 MB, free: 15.76 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001312/0.1099, allocations: 70.02 kB / 400.8 MB, free: 15.68 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001948/0.1101, allocations: 338.8 kB / 401.1 MB, free: 15.34 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002556/0.1104, allocations: 104.6 kB / 401.2 MB, free: 15.23 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003065/0.1107, allocations: 175.1 kB / 401.4 MB, free: 15.04 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006281/0.1113, allocations: 409.4 kB / 401.8 MB, free: 14.59 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.792e-06/0.1113, allocations: 4 kB / 401.8 MB, free: 14.59 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007714/0.1121, allocations: 446.4 kB / 402.2 MB, free: 14.13 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.189e-05/0.1122, allocations: 104.9 kB / 402.3 MB, free: 14.01 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.1122, allocations: 4 kB / 402.3 MB, free: 14 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.1122, allocations: 4.094 kB / 402.3 MB, free: 14 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000198/0.1124, allocations: 39.91 kB / 402.4 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.1124, allocations: 4 kB / 402.4 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001884/0.1126, allocations: 35.83 kB / 402.4 MB, free: 13.92 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.701e-05/0.1126, allocations: 12 kB / 402.4 MB, free: 13.91 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 36 (dA_Converter.y,$PRE.dA_Converter.y,aD_Converter.z,$PRE.aD_Converter.z,dA_Converter.x[7],dA_Converter.x[6],dA_Converter.x[5],dA_Converter.x[4],dA_Converter.x[3],dA_Converter.x[2],dA_Converter.x[1],aD_Converter.y[7],$PRE.aD_Converter.y[7],aD_Converter.y[6],$PRE.aD_Converter.y[6],aD_Converter.y[5],$PRE.aD_Converter.y[5],aD_Converter.y[4],$PRE.aD_Converter.y[4],aD_Converter.y[3],$PRE.aD_Converter.y[3],aD_Converter.y[2],$PRE.aD_Converter.y[2],aD_Converter.y[1],$PRE.aD_Converter.y[1],dA_Converter.trig,pulse.sampling,pulse.np,$PRE.pulse.np,pulse.T0,$PRE.pulse.T0,$whenCondition2,$whenCondition1,$whenCondition3,dA_Converter.vout,$PRE.dA_Converter.vout) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 3 * 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.0002687/0.1129, allocations: 239.7 kB / 402.7 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.54e-05/0.1129, allocations: 31.8 kB / 402.7 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.456e-05/0.113, allocations: 22.64 kB / 402.7 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.113, allocations: 4 kB / 402.7 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.113, allocations: 0 / 402.7 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.187e-06/0.113, allocations: 0 / 402.7 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001615/0.1146, allocations: 0.9395 MB / 403.7 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.1146, allocations: 4 kB / 403.7 MB, free: 12.58 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000117/0.1148, allocations: 19.98 kB / 403.7 MB, free: 12.56 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.1148, allocations: 0 / 403.7 MB, free: 12.56 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.146e-05/0.1148, allocations: 11.98 kB / 403.7 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.441e-06/0.1148, allocations: 4 kB / 403.7 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.1148, allocations: 4.031 kB / 403.7 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/0.1158, allocations: 0.6089 MB / 404.3 MB, free: 11.9 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.947e-05/0.1159, allocations: 108.9 kB / 404.4 MB, free: 11.78 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.685e-05/0.116, allocations: 15.94 kB / 404.4 MB, free: 11.76 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000214/0.1162, allocations: 19.97 kB / 404.4 MB, free: 11.74 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.131e-05/0.1163, allocations: 31.91 kB / 404.5 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.573e-05/0.1163, allocations: 8 kB / 404.5 MB, free: 11.7 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001184/0.1164, allocations: 132.3 kB / 404.6 MB, free: 11.57 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1164, allocations: 3.938 kB / 404.6 MB, free: 11.57 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003627/0.1168, allocations: 71.95 kB / 404.7 MB, free: 11.5 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition3,$whenCondition1,$whenCondition2,aD_Converter.y[1],aD_Converter.y[2],aD_Converter.y[3],aD_Converter.y[4],aD_Converter.y[5],aD_Converter.y[6],aD_Converter.y[7],aD_Converter.z,pulse.T0,pulse.np,pulse.sampling,dA_Converter.trig,dA_Converter.x[1],dA_Converter.x[2],dA_Converter.x[3],dA_Converter.x[4],dA_Converter.x[5],dA_Converter.x[6],dA_Converter.x[7],dA_Converter.vout,dA_Converter.y) * Number of discrete states: 13 (pulse.np,aD_Converter.y[7],aD_Converter.y[6],aD_Converter.y[5],aD_Converter.y[4],aD_Converter.y[3],aD_Converter.y[2],aD_Converter.y[1],aD_Converter.z,$whenCondition1,dA_Converter.vout,dA_Converter.y,$whenCondition2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 2 * 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.00147/0.1182, allocations: 1.203 MB / 405.9 MB, free: 10.25 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009002/0.1191, allocations: 0.5057 MB / 406.4 MB, free: 9.711 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1191, allocations: 4.188 kB / 406.4 MB, free: 9.707 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005042/0.1196, allocations: 326.8 kB / 406.7 MB, free: 9.363 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007116/0.1204, allocations: 144.7 kB / 406.9 MB, free: 9.223 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004037/0.1244, allocations: 2.926 MB / 409.8 MB, free: 6.16 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004038/0.1248, allocations: 0.7483 MB / 410.5 MB, free: 5.383 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001542/0.1249, allocations: 53.89 kB / 410.6 MB, free: 5.328 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001162/0.1251, allocations: 67.78 kB / 410.7 MB, free: 5.262 MB / 334.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1251, allocations: 0 / 410.7 MB, free: 5.262 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02484/0.1499, allocations: 6.596 MB / 417.2 MB, free: 14.61 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.068/8.218, allocations: 4.5 kB / 417.3 MB, free: 14.6 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_AD_DA_conversion_fmu --startTime=0 --stopTime=0.2 --stepSize=3.57079e-05 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_AD_DA_conversion.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.529523827019148] Failed to read output from testmodel.py, exit status != 0: ['time', 'aD_Converter.z', 'pulse.T0', 'pulse.np'] 8.347457358031534 8.366707107 8.261006384 Calling exit ...