Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001685/0.001685, allocations: 116.6 kB / 18.49 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00198/0.00198, allocations: 189 kB / 21.43 MB, free: 1.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 225.6 MB / 249.8 MB, free: 3.48 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 55.91 kB / 366.4 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09239/0.09382, allocations: 52.14 MB / 418.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.004239/0.09806, allocations: 3.226 MB / 421.7 MB, free: 9.355 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001635/0.0997, allocations: 0.9741 MB / 422.7 MB, free: 8.375 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001487/0.09984, allocations: 4 kB / 422.7 MB, free: 8.371 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001724/0.1, allocations: 59.36 kB / 422.8 MB, free: 8.312 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003403/0.1004, allocations: 131 kB / 422.9 MB, free: 8.184 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003145/0.1007, allocations: 147.6 kB / 423 MB, free: 8.039 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004712/0.1011, allocations: 486 kB / 423.5 MB, free: 7.562 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001981/0.1013, allocations: 95.17 kB / 423.6 MB, free: 7.465 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002183/0.1016, allocations: 187.3 kB / 423.8 MB, free: 7.281 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002474/0.1018, allocations: 211 kB / 424 MB, free: 7.074 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.749e-05/0.1019, allocations: 44 kB / 424 MB, free: 7.031 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001469/0.102, allocations: 79.95 kB / 424.1 MB, free: 6.953 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.944e-05/0.1021, allocations: 91.67 kB / 424.2 MB, free: 6.863 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000231/0.1023, allocations: 214.9 kB / 424.4 MB, free: 6.652 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005429/0.1029, allocations: 0.4979 MB / 424.9 MB, free: 6.152 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1029, allocations: 0 / 424.9 MB, free: 6.152 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1029, allocations: 3.938 kB / 424.9 MB, free: 6.148 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.632e-06/0.1029, allocations: 0 / 424.9 MB, free: 6.148 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.00133/0.1042, allocations: 0.7477 MB / 425.7 MB, free: 5.352 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.1042, allocations: 8.031 kB / 425.7 MB, free: 5.344 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.495e-05/0.1043, allocations: 16.83 kB / 425.7 MB, free: 5.328 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.149e-05/0.1043, allocations: 66.73 kB / 425.8 MB, free: 5.254 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.646e-05/0.1044, allocations: 48.66 kB / 425.8 MB, free: 5.207 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000403/0.1048, allocations: 307.6 kB / 426.1 MB, free: 4.871 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.57e-05/0.1049, allocations: 25.03 kB / 426.1 MB, free: 4.848 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.217e-05/0.1049, allocations: 36.38 kB / 426.2 MB, free: 4.812 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000636/0.1056, allocations: 353 kB / 426.5 MB, free: 4.453 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.1056, allocations: 3.984 kB / 426.5 MB, free: 4.449 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.515e-05/0.1056, allocations: 15.94 kB / 426.5 MB, free: 4.434 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.1056, allocations: 8 kB / 426.5 MB, free: 4.426 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005018/0.1061, allocations: 230.5 kB / 426.8 MB, free: 4.203 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001893/0.108, allocations: 1.17 MB / 427.9 MB, free: 2.949 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006685/0.1087, allocations: 267.5 kB / 428.2 MB, free: 2.68 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005069/0.1092, allocations: 201.2 kB / 428.4 MB, free: 2.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008355/0.11, allocations: 1.113 MB / 429.5 MB, free: 1.109 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.174e-05/0.1101, allocations: 38.78 kB / 429.5 MB, free: 1.062 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.523e-06/0.1101, allocations: 0 / 429.5 MB, free: 1.062 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.001395/0.1115, allocations: 0.5257 MB / 430.1 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.222e-05/0.1115, allocations: 89.05 kB / 430.2 MB, free: 416 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003704/0.1119, allocations: 324.5 kB / 430.5 MB, free: 72 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.895e-05/0.1119, allocations: 37.7 kB / 430.5 MB, free: 28 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001807/0.1121, allocations: 208.5 kB / 430.7 MB, free: 15.82 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.484e-05/0.1122, allocations: 111.1 kB / 430.8 MB, free: 15.71 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001123/0.1123, allocations: 74.03 kB / 430.9 MB, free: 15.63 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.1125, allocations: 350.7 kB / 431.2 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002351/0.1127, allocations: 104.7 kB / 431.3 MB, free: 15.18 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003/0.113, allocations: 185.8 kB / 431.5 MB, free: 14.96 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005166/0.1135, allocations: 291.7 kB / 431.8 MB, free: 14.65 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.1135, allocations: 0 / 431.8 MB, free: 14.65 MB / 366.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008168/0.1143, allocations: 429.6 kB / 432.2 MB, free: 14.22 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.1143, allocations: 4 kB / 432.2 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.1144, allocations: 4 kB / 432.2 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002764/0.1146, allocations: 76.75 kB / 432.3 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003238/0.115, allocations: 75.89 kB / 432.4 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001964/0.1169, allocations: 1.955 MB / 434.3 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002601/0.1172, allocations: 47.66 kB / 434.4 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.646e-05/0.1172, allocations: 20.06 kB / 434.4 MB, free: 11.91 MB / 366.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001772/0.1174, allocations: 149.7 kB / 434.5 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.038e-05/0.1175, allocations: 35.77 kB / 434.6 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007329/0.1182, allocations: 322.3 kB / 434.9 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.225e-06/0.1182, allocations: 7.938 kB / 434.9 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.1182, allocations: 4 kB / 434.9 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.1182, allocations: 3.984 kB / 434.9 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004718/0.1187, allocations: 393.3 kB / 435.3 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.1187, allocations: 0 / 435.3 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003331/0.119, allocations: 51.95 kB / 435.3 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001912/0.1192, allocations: 68.81 kB / 435.4 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.478e-05/0.1192, allocations: 12 kB / 435.4 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005216/0.1198, allocations: 0.6108 MB / 436 MB, free: 10.17 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.1198, allocations: 0 / 436 MB, free: 10.17 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009455/0.1207, allocations: 0.5251 MB / 436.6 MB, free: 9.625 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.398e-05/0.1208, allocations: 112.8 kB / 436.7 MB, free: 9.496 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.291e-05/0.1208, allocations: 4 kB / 436.7 MB, free: 9.492 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002577/0.1211, allocations: 19.98 kB / 436.7 MB, free: 9.473 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.141e-05/0.1211, allocations: 19.97 kB / 436.7 MB, free: 9.453 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.922e-05/0.1212, allocations: 8.188 kB / 436.7 MB, free: 9.445 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002467/0.1214, allocations: 243 kB / 437 MB, free: 9.211 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1214, allocations: 3.938 kB / 437 MB, free: 9.207 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004334/0.1218, allocations: 111.7 kB / 437.1 MB, free: 9.098 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (opAmp.v_in,opAmp.q_fr1,opAmp.q_fr2,opAmp.q_fr3,opAmp.q_fp1,opAmp.v_source,opAmp.x) * 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 (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001344/0.1232, allocations: 1.096 MB / 438.2 MB, free: 7.969 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008428/0.124, allocations: 394.5 kB / 438.6 MB, free: 7.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.124, allocations: 4.125 kB / 438.6 MB, free: 7.566 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003519/0.1244, allocations: 139.8 kB / 438.7 MB, free: 7.43 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003476/0.1247, allocations: 37.38 kB / 438.7 MB, free: 7.395 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004977/0.1297, allocations: 3.748 MB / 442.5 MB, free: 3.508 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004093/0.1301, allocations: 0.795 MB / 443.3 MB, free: 2.688 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001325/0.1302, allocations: 34.95 kB / 443.3 MB, free: 2.652 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001917/0.1304, allocations: 139.4 kB / 443.4 MB, free: 2.516 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1304, allocations: 0 / 443.4 MB, free: 2.516 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1988/0.3293, allocations: 7.834 MB / 451.3 MB, free: 29.73 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.12/12.45, allocations: 5.203 kB / 451.3 MB, free: 29.73 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed_fmu --startTime=0 --stopTime=0.003 --stepSize=1.2e-06 --timeout=50 --tolerance=2e-07 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.77653170202393] Failed to read output from testmodel.py, exit status != 0: ['time', 'opAmp.q_fp1', 'opAmp.q_fr1', 'opAmp.q_fr2', 'opAmp.q_fr3', 'opAmp.v_in', 'opAmp.v_source', 'opAmp.x'] 12.596822816994973 12.608466885 12.503139462 Calling exit ...