Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.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.OpAmps.Multivibrator,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001448/0.001448, allocations: 110.4 kB / 17.73 MB, free: 5.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001513/0.001513, allocations: 183.1 kB / 18.66 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.329/1.329, allocations: 205.1 MB / 224.5 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001995/0.001995, allocations: 59.91 kB / 328.1 MB, free: 3.773 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0941/0.09611, allocations: 46.61 MB / 374.7 MB, free: 5.055 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.003766/0.09992, allocations: 2.59 MB / 377.3 MB, free: 2.453 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001343/0.1013, allocations: 0.7096 MB / 378 MB, free: 1.734 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002055/0.1015, allocations: 4 kB / 378 MB, free: 1.73 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001682/0.1017, allocations: 43.58 kB / 378 MB, free: 1.688 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002983/0.102, allocations: 83.25 kB / 378.1 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002008/0.1022, allocations: 79.89 kB / 378.2 MB, free: 1.527 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003524/0.1026, allocations: 318.5 kB / 378.5 MB, free: 1.215 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001902/0.1028, allocations: 92.92 kB / 378.6 MB, free: 1.121 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001524/0.103, allocations: 111.6 kB / 378.7 MB, free: 1.012 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001757/0.1031, allocations: 131.4 kB / 378.8 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.914e-05/0.1032, allocations: 24 kB / 378.8 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.002e-05/0.1032, allocations: 24 kB / 378.9 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.077e-05/0.1033, allocations: 59.78 kB / 378.9 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001294/0.1034, allocations: 131.3 kB / 379.1 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003007/0.1037, allocations: 290.8 kB / 379.3 MB, free: 372 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.1037, allocations: 4 kB / 379.3 MB, free: 368 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1038, allocations: 0 / 379.3 MB, free: 368 kB / 318.1 MB Notification: Performance of Transformations before backend: time 1.017e-05/0.1038, allocations: 0 / 379.3 MB, free: 368 kB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.1486/0.2524, allocations: 0.559 MB / 379.9 MB, free: 12.99 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.2525, allocations: 9.75 kB / 379.9 MB, free: 12.99 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.112e-05/0.2525, allocations: 55.38 kB / 380 MB, free: 12.95 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.052e-05/0.2526, allocations: 31.34 kB / 380 MB, free: 12.94 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002897/0.2529, allocations: 256.9 kB / 380.2 MB, free: 12.73 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.2529, allocations: 18.22 kB / 380.3 MB, free: 12.73 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.634e-05/0.253, allocations: 20.88 kB / 380.3 MB, free: 12.73 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004225/0.2534, allocations: 226.7 kB / 380.5 MB, free: 12.7 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.2534, allocations: 3.938 kB / 380.5 MB, free: 12.69 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.495e-05/0.2534, allocations: 10.64 kB / 380.5 MB, free: 12.69 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.305e-06/0.2535, allocations: 5.281 kB / 380.5 MB, free: 12.69 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003966/0.2539, allocations: 198.5 kB / 380.7 MB, free: 12.69 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001316/0.2552, allocations: 0.8914 MB / 381.6 MB, free: 12.26 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005703/0.2558, allocations: 218.4 kB / 381.8 MB, free: 12.24 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002993/0.2561, allocations: 120.9 kB / 381.9 MB, free: 12.23 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.911e-05/0.2561, allocations: 9.078 kB / 382 MB, free: 12.23 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.397e-05/0.2561, allocations: 35.91 kB / 382 MB, free: 12.19 MB / 318.1 MB Notification: Performance of pre-optimization done (n=15): time 1.283e-06/0.2561, allocations: 0 / 382 MB, free: 12.19 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.001917/0.2581, allocations: 0.5584 MB / 382.5 MB, free: 12 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.158e-05/0.2581, allocations: 55.19 kB / 382.6 MB, free: 11.94 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001878/0.2583, allocations: 233.4 kB / 382.8 MB, free: 11.79 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.343e-05/0.2583, allocations: 26.77 kB / 382.9 MB, free: 11.76 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.682e-05/0.2584, allocations: 169.1 kB / 383 MB, free: 11.62 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.019e-05/0.2584, allocations: 55.08 kB / 383.1 MB, free: 11.58 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.856e-05/0.2585, allocations: 44.91 kB / 383.1 MB, free: 11.55 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.97e-05/0.2585, allocations: 332 kB / 383.4 MB, free: 11.23 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000166/0.2587, allocations: 72.25 kB / 383.5 MB, free: 11.2 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001712/0.2589, allocations: 116.5 kB / 383.6 MB, free: 11.12 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003114/0.2592, allocations: 187.1 kB / 383.8 MB, free: 11 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.2592, allocations: 1.469 kB / 383.8 MB, free: 11 MB / 318.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008071/0.26, allocations: 342.4 kB / 384.1 MB, free: 10.87 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.2601, allocations: 6.781 kB / 384.1 MB, free: 10.87 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.2601, allocations: 1.938 kB / 384.2 MB, free: 10.87 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003475/0.2604, allocations: 81.23 kB / 384.2 MB, free: 10.85 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001586/0.2606, allocations: 41.3 kB / 384.3 MB, free: 10.84 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002387/0.263, allocations: 2.015 MB / 386.3 MB, free: 9.184 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001647/0.2632, allocations: 37.28 kB / 386.3 MB, free: 9.16 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.469e-05/0.2632, allocations: 6.344 kB / 386.3 MB, free: 9.16 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001191/0.2633, allocations: 148.6 kB / 386.5 MB, free: 9.047 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.446e-05/0.2634, allocations: 95.66 kB / 386.6 MB, free: 8.969 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001439/0.2636, allocations: 148.2 kB / 386.7 MB, free: 8.859 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.272e-06/0.2636, allocations: 0 / 386.7 MB, free: 8.859 MB / 318.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.000298/0.2639, allocations: 226.8 kB / 386.9 MB, free: 8.738 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.635e-06/0.2639, allocations: 4.438 kB / 386.9 MB, free: 8.738 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.465e-06/0.2639, allocations: 1.594 kB / 386.9 MB, free: 8.738 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.931e-05/0.264, allocations: 26.05 kB / 387 MB, free: 8.727 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001487/0.2641, allocations: 44.91 kB / 387 MB, free: 8.723 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006108/0.2647, allocations: 1.421 MB / 388.4 MB, free: 7.297 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001161/0.2649, allocations: 16.3 kB / 388.4 MB, free: 7.285 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.2649, allocations: 9.969 kB / 388.5 MB, free: 7.285 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (21): * Single equations (assignments): 20 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 6.899e-05/0.265, allocations: 192.1 kB / 388.6 MB, free: 7.094 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.351e-05/0.265, allocations: 21.89 kB / 388.7 MB, free: 7.082 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.859e-05/0.2651, allocations: 24.75 kB / 388.7 MB, free: 7.062 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.2651, allocations: 6.031 kB / 388.7 MB, free: 7.059 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.2651, allocations: 4.594 kB / 388.7 MB, free: 7.055 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.2651, allocations: 1.922 kB / 388.7 MB, free: 7.055 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009768/0.2661, allocations: 0.6202 MB / 389.3 MB, free: 6.641 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.2661, allocations: 5 kB / 389.3 MB, free: 6.637 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001125/0.2662, allocations: 26.56 kB / 389.4 MB, free: 6.633 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002461/0.2664, allocations: 71.86 kB / 389.4 MB, free: 6.617 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.2665, allocations: 5.797 kB / 389.4 MB, free: 6.613 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001933/0.2684, allocations: 1.922 MB / 391.3 MB, free: 4.961 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.2684, allocations: 0 / 391.3 MB, free: 4.961 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008272/0.2693, allocations: 440 kB / 391.8 MB, free: 4.73 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.281e-05/0.2693, allocations: 92.98 kB / 391.9 MB, free: 4.629 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.673e-05/0.2693, allocations: 13.31 kB / 391.9 MB, free: 4.617 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001884/0.2695, allocations: 17.95 kB / 391.9 MB, free: 4.617 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.774e-05/0.2696, allocations: 17 kB / 391.9 MB, free: 4.613 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.2696, allocations: 7.969 kB / 391.9 MB, free: 4.609 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001254/0.2697, allocations: 162.6 kB / 392.1 MB, free: 4.508 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2697, allocations: 0 / 392.1 MB, free: 4.508 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005354/0.2703, allocations: 121.9 kB / 392.2 MB, free: 4.477 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c.v) * 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): 10 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001042/0.2713, allocations: 0.9632 MB / 393.2 MB, free: 3.723 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001063/0.2724, allocations: 0.5444 MB / 393.7 MB, free: 3.41 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.2724, allocations: 0 / 393.7 MB, free: 3.41 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002773/0.2727, allocations: 215.8 kB / 393.9 MB, free: 3.262 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003695/0.2731, allocations: 36.94 kB / 394 MB, free: 3.246 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003454/0.2765, allocations: 2.628 MB / 396.6 MB, free: 1.469 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001822/0.2767, allocations: 0.7493 MB / 397.3 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 9.763e-05/0.2768, allocations: 24.33 kB / 397.4 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.33e-05/0.2769, allocations: 67.28 kB / 397.4 MB, free: 0.707 MB / 318.1 MB Notification: Performance of SimCode: time 5.31e-07/0.2769, allocations: 0 / 397.4 MB, free: 0.707 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02648/0.3034, allocations: 5.449 MB / 402.9 MB, free: 15.34 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.78/12.08, allocations: 17.73 kB / 402.9 MB, free: 15.32 MB / 334.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe 2>&1)